Searched refs:duration_ms (Results 1 – 10 of 10) sorted by relevance
24 int duration_ms) { in Create() argument28 if (work_period_ms > duration_ms) { in Create()34 if (duration_ms < 0) { in Create()41 work_iterations_per_period, duration_ms); in Create()47 int duration_ms) in CpuMeasurementHarness() argument51 duration_ms_(duration_ms), in CpuMeasurementHarness()
40 int duration_ms);47 int work_iterations_per_period, int duration_ms);
50 const int duration_ms = 1000; in TEST() local53 iterations_per_period, duration_ms); in TEST()
141 void PlatformThread::Sleep(int duration_ms) { in Sleep() argument145 sleep_time.tv_sec = duration_ms / 1000; in Sleep()146 duration_ms -= sleep_time.tv_sec * 1000; in Sleep()149 sleep_time.tv_nsec = duration_ms * 1000 * 1000; // nanoseconds. in Sleep()
91 void PlatformThread::Sleep(int duration_ms) { in Sleep() argument92 ::Sleep(duration_ms); in Sleep()
68 static void Sleep(int duration_ms);
15 : event_name(e), duration_ms(d) {} in MetricEventDurationDetails()18 int duration_ms; member
223 void GetMetricEventDuration(const std::string& event_name, int* duration_ms);
1264 metric_event_duration->duration_ms; in Observe()
1391 int* duration_ms) { in GetMetricEventDuration() argument1392 *duration_ms = metric_event_duration_observer_->GetEventDurationMs( in GetMetricEventDuration()