Skip to content

Commit

Permalink
Remove diagnostic code
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbruening committed Dec 5, 2023
1 parent f28c5b8 commit bd186f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
14 changes: 0 additions & 14 deletions clients/drcachesim/scheduler/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1581,20 +1581,6 @@ scheduler_tmpl_t<RecordType, ReaderType>::add_to_ready_queue(input_info_t *input
ready_priority_.push(input);
}

template <typename RecordType, typename ReaderType>
void
scheduler_tmpl_t<RecordType, ReaderType>::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 RecordType, typename ReaderType>
typename scheduler_tmpl_t<RecordType, ReaderType>::stream_status_t
scheduler_tmpl_t<RecordType, ReaderType>::pop_from_ready_queue(
Expand Down
3 changes: 0 additions & 3 deletions clients/drcachesim/scheduler/scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -1360,9 +1360,6 @@ template <typename RecordType, typename ReaderType> 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();
///
///////////////////////////////////////////////////////////////////////////

Expand Down

0 comments on commit bd186f2

Please sign in to comment.