Searched refs:UpdateStat (Results 1 – 9 of 9) sorted by relevance
78 TEST(StatsCalculatorTest, UpdateStat) { in TEST() argument82 stat.UpdateStat(1); in TEST()84 stat.UpdateStat(-1.0); in TEST()86 stat.UpdateStat(100); in TEST()87 stat.UpdateStat(0); in TEST()
36 void UpdateStat(ValueType v) { in UpdateStat() function164 run_total_us_.UpdateStat(run_total_us); in UpdateRunTotalUs()167 void UpdateMemoryUsed(int64_t memory) { memory_.UpdateStat(memory); } in UpdateMemoryUsed()
313 detail->start_us.UpdateStat(start_us); in AddNodeStats()314 detail->rel_end_us.UpdateStat(rel_end_us); in AddNodeStats()315 detail->mem_used.UpdateStat(mem_used); in AddNodeStats()
155 unknown_time_ms.UpdateStat(details.unknown_time_ms()); in ComputeGenericStepTimeBreakdownInMs()156 host_wait_input_ms.UpdateStat(details.host_wait_input_ms()); in ComputeGenericStepTimeBreakdownInMs()157 host_to_device_ms.UpdateStat(details.host_to_device_ms()); in ComputeGenericStepTimeBreakdownInMs()158 input_ms.UpdateStat(details.host_wait_input_ms() + in ComputeGenericStepTimeBreakdownInMs()160 output_ms.UpdateStat(details.output_ms()); in ComputeGenericStepTimeBreakdownInMs()161 device_compute_ms.UpdateStat(details.device_compute_ms()); in ComputeGenericStepTimeBreakdownInMs()162 device_to_device_ms.UpdateStat(details.device_to_device_ms()); in ComputeGenericStepTimeBreakdownInMs()163 device_collectives_ms.UpdateStat(details.device_collectives_ms()); in ComputeGenericStepTimeBreakdownInMs()164 host_compute_ms.UpdateStat(details.host_compute_ms()); in ComputeGenericStepTimeBreakdownInMs()165 host_prepare_ms.UpdateStat(details.host_prepare_ms()); in ComputeGenericStepTimeBreakdownInMs()[all …]
167 latency_stats_.UpdateStat(profiling::time::NowMicros() - start_us); in Run()
185 error_stats_[i].UpdateStat(output_diff); in Run()
335 latency_stats_.UpdateStat(profiling::time::NowMicros() - start_us); in Run()
170 run_stats.UpdateStat(end_us - start_us); in Run()
341 stat.UpdateStat(time); in TimeMultipleRuns()