From bd186f25bd8810e9c586fe84c1e5dfe64a4ef85a Mon Sep 17 00:00:00 2001 From: Derek Bruening Date: Tue, 5 Dec 2023 13:02:52 -0500 Subject: [PATCH] Remove diagnostic code --- clients/drcachesim/scheduler/scheduler.cpp | 14 -------------- clients/drcachesim/scheduler/scheduler.h | 3 --- 2 files changed, 17 deletions(-) diff --git a/clients/drcachesim/scheduler/scheduler.cpp b/clients/drcachesim/scheduler/scheduler.cpp index be77a16ecf7..7004cac8c36 100644 --- a/clients/drcachesim/scheduler/scheduler.cpp +++ b/clients/drcachesim/scheduler/scheduler.cpp @@ -1581,20 +1581,6 @@ scheduler_tmpl_t::add_to_ready_queue(input_info_t *input ready_priority_.push(input); } -template -void -scheduler_tmpl_t::print_ready_queue_stats() -{ - // NOCHECK want a heartbeat w/ key stats to understand muppet: - // # non-eof inputs (== queue size) - // # blocked inputs - // - // schedule_stats: # blocking syscalls (identify from latency or from cxt sw?) - // and then instructions per blocking syscall - // - // muppet too many cxt sw -} - template typename scheduler_tmpl_t::stream_status_t scheduler_tmpl_t::pop_from_ready_queue( diff --git a/clients/drcachesim/scheduler/scheduler.h b/clients/drcachesim/scheduler/scheduler.h index c1d0fbf9a9b..7302dd10fca 100644 --- a/clients/drcachesim/scheduler/scheduler.h +++ b/clients/drcachesim/scheduler/scheduler.h @@ -1360,9 +1360,6 @@ template class scheduler_tmpl_t { stream_status_t pop_from_ready_queue(output_ordinal_t for_output, input_info_t *&new_input); - // sched_lock_ must be held by the caller. - void - print_ready_queue_stats(); /// ///////////////////////////////////////////////////////////////////////////