Home
last modified time | relevance | path

Searched refs:cur_time (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/update_manager/
Devaluation_context_unittest.cc375 Time cur_time = fake_clock_.GetWallclockTime(); in TEST_F() local
377 fake_clock_.SetWallclockTime(cur_time + TimeDelta::FromSeconds(4)); in TEST_F()
380 cur_time - TimeDelta::FromSeconds(1))); in TEST_F()
381 EXPECT_FALSE(eval_ctx_->IsWallclockTimeGreaterThan(cur_time)); in TEST_F()
383 cur_time + TimeDelta::FromSeconds(1))); in TEST_F()
387 cur_time = fake_clock_.GetWallclockTime(); in TEST_F()
389 cur_time - TimeDelta::FromSeconds(1))); in TEST_F()
390 EXPECT_FALSE(eval_ctx_->IsWallclockTimeGreaterThan(cur_time)); in TEST_F()
392 cur_time + TimeDelta::FromSeconds(1))); in TEST_F()
396 Time cur_time = fake_clock_.GetMonotonicTime(); in TEST_F() local
[all …]
/system/extras/simpleperf/
Dcpu_hotplug_test.cpp247 auto cur_time = start_time; in TEST() local
252 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
253 if (cur_time + report_step < std::chrono::steady_clock::now()) { in TEST()
260 cur_time = std::chrono::steady_clock::now(); in TEST()
303 auto cur_time = start_time; in TEST() local
308 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
309 if (cur_time + report_step < std::chrono::steady_clock::now()) { in TEST()
316 cur_time = std::chrono::steady_clock::now(); in TEST()
387 auto cur_time = start_time; in TEST() local
392 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()
[all …]
/system/libhwbinder/vts/performance/
DPerfTest.cpp166 float cur_time = kTimePerBucketMS * i + 0.5f * kTimePerBucketMS; in dumpDistribution() local
169 cout << "\"p50\":" << cur_time << ", "; in dumpDistribution()
172 cout << "\"p90\":" << cur_time << ", "; in dumpDistribution()
175 cout << "\"p95\":" << cur_time << ", "; in dumpDistribution()
178 cout << "\"p99\": " << cur_time; in dumpDistribution()
DBenchmark_throughput.cpp149 float cur_time = time_per_bucket_ms * i + 0.5f * time_per_bucket_ms; in dump() local
152 cout << "50%: " << cur_time << " "; in dump()
156 cout << "90%: " << cur_time << " "; in dump()
160 cout << "95%: " << cur_time << " "; in dump()
164 cout << "99%: " << cur_time << " "; in dump()
243 uint64_t cur_time = uint64_t( in worker_fx() local
245 results.add_time(cur_time); in worker_fx()