Searched refs:time2 (Results 1 – 5 of 5) sorted by relevance
236 auto time2 = TimeServiceClient::GetInstance()->GetWallTimeMs(); variable237 EXPECT_TRUE(time2 >= time1);249 auto time2 = TimeServiceClient::GetInstance()->GetWallTimeNs(); variable250 EXPECT_TRUE(time2 >= time1);262 auto time2 = TimeServiceClient::GetInstance()->GetBootTimeNs(); variable263 EXPECT_TRUE(time2 >= time1);275 auto time2 = TimeServiceClient::GetInstance()->GetMonotonicTimeMs(); variable276 EXPECT_TRUE(time2 >= time1);288 auto time2 = TimeServiceClient::GetInstance()->GetMonotonicTimeNs(); variable289 EXPECT_TRUE(time2 >= time1);
160 auto time2 = TimeUtil::GetSteadyClockTimeMs(); variable162 ASSERT_GE(time2, 0);
516 double time2 = clock(); in WriteJsonAdmin() local517 if (time1 != 0 && time2 != 0) { in WriteJsonAdmin()518 EDMLOGD("WriteJsonAdmin spend time %{public}f", (time2 - time1) / CLOCKS_PER_SEC); in WriteJsonAdmin()
197 double time2 = clock(); in SavePolicy() local203 EDMLOGI("SavePolicy spend time %{public}f, %{public}f", (time2 - time1) / CLOCKS_PER_SEC, in SavePolicy()204 (time3 - time2) / CLOCKS_PER_SEC); in SavePolicy()
255 bool GetTimeDuration(int64_t time1, int64_t time2, int64_t diffRange) in GetTimeDuration() argument257 int64_t duration = time2 - time1; in GetTimeDuration()