Searched refs:time1 (Results 1 – 7 of 7) sorted by relevance
234 auto time1 = TimeServiceClient::GetInstance()->GetWallTimeMs(); variable235 EXPECT_TRUE(time1 != -1);237 EXPECT_TRUE(time2 >= time1);247 auto time1 = TimeServiceClient::GetInstance()->GetWallTimeNs(); variable248 EXPECT_TRUE(time1 != -1);250 EXPECT_TRUE(time2 >= time1);260 auto time1 = TimeServiceClient::GetInstance()->GetBootTimeNs(); variable261 EXPECT_TRUE(time1 != -1);263 EXPECT_TRUE(time2 >= time1);273 auto time1 = TimeServiceClient::GetInstance()->GetMonotonicTimeMs(); variable[all …]
38 struct timespec time1 = {0}; in GetJiffies() local39 clock_gettime(CLOCK_MONOTONIC, &time1); in GetJiffies()40 long long jiffies1 = (long long)time1.tv_nsec / NANO_PRE_JIFFY; in GetJiffies()41 …long long jiffies2 = (long long)time1.tv_sec * (1000000000 / NANO_PRE_JIFFY); // 1000000000 to nsec in GetJiffies()
159 auto time1 = TimeUtil::Get0ClockStampMs(); variable161 ASSERT_GE(time1, 0);
273 auto time1 = OHOS::HiviewDFX::TimeUtil::GetMilliseconds(); variable274 printf("start finsh time is %s\n", std::to_string(time1).c_str());
502 double time1 = 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()
188 double time1 = clock(); in SavePolicy() local203 EDMLOGI("SavePolicy spend time %{public}f, %{public}f", (time2 - time1) / 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()