Searched refs:cur_time (Results 1 – 6 of 6) sorted by relevance
32 auto cur_time = std::chrono::system_clock::now(); in OnWakelockReleased() local41 …std::chrono::duration_cast<std::chrono::milliseconds>(cur_time - wakelock_acquired_time_).count()); in OnWakelockReleased()50 auto cur_time = std::chrono::system_clock::now(); in OnWakelockAcquired() local56 wakelock_acquired_time_ = cur_time; in OnWakelockAcquired()57 …} else if (cur_time - wakelock_acquired_time_ > std::chrono::milliseconds(kWakelockMaxDurationMs))… in OnWakelockAcquired()60 wakelock_acquired_time_ = cur_time; in OnWakelockAcquired()
67 auto cur_time = std::chrono::system_clock::now(); in OnWakelockReleased() local72 btaa_aggregator_[it.first].creation_time = cur_time; in OnWakelockReleased()76 …std::chrono::duration_cast<std::chrono::seconds>(cur_time - btaa_aggregator_[it.first].creation_ti… in OnWakelockReleased()81 btaa_aggregator_[it.first].creation_time = cur_time; in OnWakelockReleased()96 … std::chrono::duration_cast<std::chrono::seconds>(cur_time - it.second.creation_time).count(); in OnWakelockReleased()
381 Time cur_time = fake_clock_->GetWallclockTime(); in TEST_F() local383 fake_clock_->SetWallclockTime(cur_time + TimeDelta::FromSeconds(4)); in TEST_F()385 EXPECT_TRUE(eval_ctx_->IsWallclockTimeGreaterThan(cur_time - in TEST_F()387 EXPECT_FALSE(eval_ctx_->IsWallclockTimeGreaterThan(cur_time)); in TEST_F()389 cur_time + TimeDelta::FromSeconds(1))); in TEST_F()393 cur_time = fake_clock_->GetWallclockTime(); in TEST_F()394 EXPECT_TRUE(eval_ctx_->IsWallclockTimeGreaterThan(cur_time - in TEST_F()396 EXPECT_FALSE(eval_ctx_->IsWallclockTimeGreaterThan(cur_time)); in TEST_F()398 cur_time + TimeDelta::FromSeconds(1))); in TEST_F()402 Time cur_time = fake_clock_->GetMonotonicTime(); in TEST_F() local[all …]
244 auto cur_time = start_time; in TEST() local249 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()250 if (cur_time + report_step < std::chrono::steady_clock::now()) { in TEST()257 cur_time = std::chrono::steady_clock::now(); in TEST()301 auto cur_time = start_time; in TEST() local306 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()307 if (cur_time + report_step < std::chrono::steady_clock::now()) { in TEST()314 cur_time = std::chrono::steady_clock::now(); in TEST()386 auto cur_time = start_time; in TEST() local391 while (cur_time < end_time && !cpu_toggle_arg.cpu_hotplug_failed) { in TEST()[all …]
166 float cur_time = kTimePerBucketMS * i + 0.5f * kTimePerBucketMS; in dumpDistribution() local169 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()
150 float cur_time = time_per_bucket_ms * i + 0.5f * time_per_bucket_ms; in dump() local153 cout << "50%: " << cur_time << " "; in dump()157 cout << "90%: " << cur_time << " "; in dump()161 cout << "95%: " << cur_time << " "; in dump()165 cout << "99%: " << cur_time << " "; in dump()244 uint64_t cur_time = uint64_t( in worker_fx() local246 results.add_time(cur_time); in worker_fx()