Home
last modified time | relevance | path

Searched refs:cost (Results 1 - 11 of 11) sorted by relevance

/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dhap_resource_test.cpp75 auto cost = CurrentTimeUsec() - start; in HWTEST_F() local
76 HILOG_DEBUG("load cost: %ld us.", cost); in HWTEST_F()
87 cost = CurrentTimeUsec() - start; in HWTEST_F()
89 HILOG_DEBUG("GetIdValues by id cost: %ld us.", cost); in HWTEST_F()
113 cost = CurrentTimeUsec() - start; in HWTEST_F()
115 HILOG_DEBUG("GetIdValues by name cost: %ld us.", cost); in HWTEST_F()
154 auto cost in HWTEST_F() local
222 auto cost = CurrentTimeUsec() - start; HWTEST_F() local
[all...]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dhap_resource_test.cpp71 auto cost = CurrentTimeUsec() - start; in TestGetIdValuesByName() local
74 RESMGR_HILOGD(RESMGR_TAG, "GetIdValues by name cost: %ld us.", cost); in TestGetIdValuesByName()
107 auto cost = CurrentTimeUsec() - start; in HWTEST_F() local
108 RESMGR_HILOGD(RESMGR_TAG, "load cost: %ld us.", cost); in HWTEST_F()
118 cost = CurrentTimeUsec() - start; in HWTEST_F()
120 RESMGR_HILOGD(RESMGR_TAG, "GetIdValues by id cost: %ld us.", cost); in HWTEST_F()
149 auto cost in GetIdValuesByNameFuncTest002() local
183 auto cost = CurrentTimeUsec() - start; HWTEST_F() local
226 auto cost = CurrentTimeUsec() - start; HWTEST_F() local
[all...]
/base/useriam/user_auth_framework/test/unittest/services/src/
H A Drelative_timer_test.cpp55 auto cost = duration_cast<milliseconds>(finish - start).count(); in HWTEST_F() local
56 EXPECT_GT(cost, 560); in HWTEST_F()
57 EXPECT_LT(cost, 700); in HWTEST_F()
H A Dschedule_node_test.cpp356 auto cost = duration_cast<milliseconds>(finish - start).count(); in HWTEST_F() local
357 EXPECT_GT(cost, 540); in HWTEST_F()
358 EXPECT_LT(cost, 700); in HWTEST_F()
410 auto cost = duration_cast<milliseconds>(finish - start).count(); in HWTEST_F() local
411 EXPECT_GT(cost, 540); in HWTEST_F()
412 EXPECT_LT(cost, 700); in HWTEST_F()
463 auto cost = duration_cast<milliseconds>(finish - start).count(); in HWTEST_F() local
464 EXPECT_GT(cost, 540); in HWTEST_F()
465 EXPECT_LT(cost, 700); in HWTEST_F()
516 auto cost in HWTEST_F() local
571 auto cost = duration_cast<milliseconds>(finish - start).count(); HWTEST_F() local
[all...]
/base/powermgr/power_manager/services/native/src/shutdown/
H A Dshutdown_controller.cpp305 int64_t cost = GetTickCount() - start; in TriggerAsyncShutdownCallbackInner() local
306 POWER_HILOGD(FEATURE_SHUTDOWN, "Callback finished, cost=%{public}" PRId64 "", cost); in TriggerAsyncShutdownCallbackInner()
329 int64_t cost = GetTickCount() - start; in TriggerSyncShutdownCallbackInner() local
330 POWER_HILOGD(FEATURE_SHUTDOWN, "Callback finished, cost=%{public}" PRId64 "", cost); in TriggerSyncShutdownCallbackInner()
/base/security/device_security_level/services/dfx/
H A Ddslm_hidumper.c94 uint32_t cost = (uint32_t)(endTime - beginTime); in GetCostTime() local
102 if (snprintf_s(costBuff, COST_STRING_LEN, COST_STRING_LEN - 1, "(cost %ums)", cost) < 0) { in GetCostTime()
249 uint32_t cost = (notifyNode->stop > notifyNode->start) ? (notifyNode->stop - notifyNode->start) : 0; in DumpHistoryCalls() local
250 dprintf(fd, "#%-4d pid:%-6u seq:%-4u req:%-26s res:%-26s ret:%-4u cost:%ums" END_LINE, index, notifyNode->owner, in DumpHistoryCalls()
251 notifyNode->cookie, timeStart, timeStop, notifyNode->result, cost); in DumpHistoryCalls()
/base/hiviewdfx/hiview/plugins/unified_collector/app_trace/
H A Dapp_trace_context.cpp274 int64_t cost = appTraceContext_->traceBegin_ - static_cast<int64_t>(appCallerEvent_->happenTime_); in DoCaptureTrace() local
275 HIVIEW_LOGI("trace is start for uid=%{public}d pid=%{public}d delay=%{public}" PRId64 ", cost=%{public}" PRId64 "", in DoCaptureTrace()
276 appCallerEvent_->uid_, appCallerEvent_->pid_, delay, cost); in DoCaptureTrace()
337 int64_t cost = appCallerEvent_->taskEndTime_ - static_cast<int64_t>(appCallerEvent_->happenTime_); in DoCaptureTrace() local
338 HIVIEW_LOGI("dump trace for uid=%{public}d pid=%{public}d delay=%{public}" PRId64 ", cost=%{public}" PRId64 "", in DoCaptureTrace()
339 appCallerEvent_->uid_, appCallerEvent_->pid_, delay, cost); in DoCaptureTrace()
/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_loop_test.cpp88 auto cost = clock() - event->createTime_; in OnEvent() local
89 totalDeliverOverHead_ += cost; in OnEvent()
381 * @tc.desc: send an event and check the deliver cost
/base/security/access_token/interfaces/innerkits/token_setproc/test/unittest/src/
H A Dtokensetproc_kit_test.cpp469 double cost = (1000.0 * 1000.0 * ts2.tv_sec + 1e-3 * ts2.tv_nsec) - in HWTEST_F() local
472 costSum += cost; in HWTEST_F()
/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_controller.cpp113 int64_t cost = GetTickCount() - start; in TriggerSyncSleepCallbackInner() local
115 "Trigger %{public}s SyncSleepCallback[%{public}u] success, cost=%{public}" PRId64, in TriggerSyncSleepCallbackInner()
116 priority.c_str(), ++id, cost); in TriggerSyncSleepCallbackInner()
/base/security/device_security_level/test/dslm_unit_test/
H A Ddslm_test.cpp1296 auto cost = duration_cast<seconds>(curr - start).count(); in HWTEST_F()
1298 EXPECT_EQ(cost, timeouts[cnt]); in HWTEST_F()

Completed in 11 milliseconds