zircon/kernel/kernel/scheduler.cc
// Updates the system load metrics. Updates happen only when the active thread
// changes or the time slice expires.
Updates the system load metrics. Updates happen only when the active thread
changes or the time slice expires.
Updates the system load metrics . Updates happen only when the active thread changes or the time slice expires .
void Scheduler::UpdateCounters(SchedDuration queue_time_ns) {
  demand_counter.Add(weight_total_.raw_value());
  runnable_counter.Add(runnable_fair_task_count_ + runnable_deadline_task_count_);
  latency_counter.Add(queue_time_ns.raw_value());
  samples_counter.Add(1);
}
void Scheduler :: UpdateCounters ( SchedDuration queue_time_ns ) { demand_counter . Add ( weight_total_ . raw_value ( ) ) ; runnable_counter . Add ( runnable_fair_task_count_ + runnable_deadline_task_count_ ) ; latency_counter . Add ( queue_time_ns . raw_value ( ) ) ; samples_counter . Add ( 1 ) ; }
Updates the system load metrics.
Updates the system load metrics .