Home
last modified time | relevance | path

Searched refs:time2 (Results 1 – 5 of 5) sorted by relevance

/base/time/time_service/services/time/test/unittest/src/
Dtime_service_test.cpp236 auto time2 = TimeServiceClient::GetInstance()->GetWallTimeMs(); variable
237 EXPECT_TRUE(time2 >= time1);
249 auto time2 = TimeServiceClient::GetInstance()->GetWallTimeNs(); variable
250 EXPECT_TRUE(time2 >= time1);
262 auto time2 = TimeServiceClient::GetInstance()->GetBootTimeNs(); variable
263 EXPECT_TRUE(time2 >= time1);
275 auto time2 = TimeServiceClient::GetInstance()->GetMonotonicTimeMs(); variable
276 EXPECT_TRUE(time2 >= time1);
288 auto time2 = TimeServiceClient::GetInstance()->GetMonotonicTimeNs(); variable
289 EXPECT_TRUE(time2 >= time1);
/base/hiviewdfx/hiview/adapter/utility/test/unittest/common/
Dadapter_utility_ohos_test.cpp160 auto time2 = TimeUtil::GetSteadyClockTimeMs(); variable
162 ASSERT_GE(time2, 0);
/base/customization/enterprise_device_management/services/edm/src/
Dadmin_manager.cpp516 double time2 = clock(); in WriteJsonAdmin() local
517 if (time1 != 0 && time2 != 0) { in WriteJsonAdmin()
518 EDMLOGD("WriteJsonAdmin spend time %{public}f", (time2 - time1) / CLOCKS_PER_SEC); in WriteJsonAdmin()
Dpolicy_manager.cpp197 double time2 = clock(); in SavePolicy() local
203 EDMLOGI("SavePolicy spend time %{public}f, %{public}f", (time2 - time1) / CLOCKS_PER_SEC, in SavePolicy()
204 (time3 - time2) / CLOCKS_PER_SEC); in SavePolicy()
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/
Dhitrace_ndk_test.cpp255 bool GetTimeDuration(int64_t time1, int64_t time2, int64_t diffRange) in GetTimeDuration() argument
257 int64_t duration = time2 - time1; in GetTimeDuration()