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/
Dhap_resource_test.cpp75 auto cost = CurrentTimeUsec() - start; variable
76 HILOG_DEBUG("load cost: %ld us.", cost);
87 cost = CurrentTimeUsec() - start;
89 HILOG_DEBUG("GetIdValues by id cost: %ld us.", cost);
113 cost = CurrentTimeUsec() - start;
115 HILOG_DEBUG("GetIdValues by name cost: %ld us.", cost);
154 auto cost = CurrentTimeUsec() - start; variable
155 HILOG_DEBUG("load cost: %ld us.", cost);
168 cost = CurrentTimeUsec() - start;
170 HILOG_DEBUG("GetIdValues by id cost: %ld us.", cost);
[all …]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dhap_resource_test.cpp70 auto cost = CurrentTimeUsec() - start; in TestGetIdValuesByName() local
73 HILOG_DEBUG("GetIdValues by name cost: %ld us.", cost); in TestGetIdValuesByName()
105 auto cost = CurrentTimeUsec() - start; variable
106 HILOG_DEBUG("load cost: %ld us.", cost);
116 cost = CurrentTimeUsec() - start;
118 HILOG_DEBUG("GetIdValues by id cost: %ld us.", cost);
148 auto cost = CurrentTimeUsec() - start; in GetIdValuesByNameFuncTest002() local
150 HILOG_DEBUG("GetIdValues by name cost: %ld us.", cost); in GetIdValuesByNameFuncTest002()
182 auto cost = CurrentTimeUsec() - start; variable
183 HILOG_DEBUG("load cost: %ld us.", cost);
[all …]
/base/useriam/user_auth_framework/test/unittest/services/src/
Drelative_timer_test.cpp55 auto cost = duration_cast<milliseconds>(finish - start).count(); variable
56 EXPECT_GT(cost, 560);
57 EXPECT_LT(cost, 570);
Dschedule_node_test.cpp351 auto cost = duration_cast<milliseconds>(finish - start).count(); variable
352 EXPECT_GT(cost, 540);
353 EXPECT_LT(cost, 560);
405 auto cost = duration_cast<milliseconds>(finish - start).count(); variable
406 EXPECT_GT(cost, 540);
407 EXPECT_LT(cost, 560);
459 auto cost = duration_cast<milliseconds>(finish - start).count(); variable
460 EXPECT_GT(cost, 540);
461 EXPECT_LT(cost, 560);
511 auto cost = duration_cast<milliseconds>(finish - start).count(); variable
[all …]
/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_controller.cpp265 int64_t cost = GetTickCount() - start; in TriggerAsyncShutdownCallbackInner() local
266 POWER_HILOGD(FEATURE_SHUTDOWN, "Callback finished, cost=%{public}" PRId64 "", cost); in TriggerAsyncShutdownCallbackInner()
288 int64_t cost = GetTickCount() - start; in TriggerSyncShutdownCallbackInner() local
289 POWER_HILOGD(FEATURE_SHUTDOWN, "Callback finished, cost=%{public}" PRId64 "", cost); in TriggerSyncShutdownCallbackInner()
/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c81 uint32_t cost = (uint32_t)(endTime - beginTime); in GetCostTime() local
82 if (snprintf_s(costBuff, COST_STRING_LEN, COST_STRING_LEN - 1, "(cost %ums)", cost) < 0) { in GetCostTime()
220 …uint32_t cost = (notifyNode->stop > notifyNode->start) ? (notifyNode->stop - notifyNode->start) : … in DumpHistoryCalls() local
222 notifyNode->cookie, timeStart, timeStop, notifyNode->result, cost); in DumpHistoryCalls()
/base/hiviewdfx/hiview/base/test/unittest/common/
Devent_loop_test.cpp88 auto cost = clock() - event->createTime_; in OnEvent() local
89 totalDeliverOverHead_ += cost; in OnEvent()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp904 auto cost = duration_cast<seconds>(curr - start).count(); in __anonce8318920402() local
906 EXPECT_EQ(cost, timeouts[cnt]); in __anonce8318920402()
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest008/
Dlast_kmsg29 <14>[ 3.822546] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [1546]us, return 0.
30 <14>[ 3.822584] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [10]us, return 0.
39 <14>[ 3.827907] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [5305]us, return 0.
40 <14>[ 3.827936] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [14]us, return 0.
43 <14>[ 3.832133] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [4176]us, return 0.
177 <14>[ 4.207932] [pid=1][Init][INFO][init.c:313]Executing hook [30:0] cost [9]us, return 0.
182 <14>[ 4.213150] [pid=1][Init][INFO][init.c:313]Executing hook [30:0] cost [5198]us, return 0.
209 <14>[ 4.295965] [pid=1][Init][INFO][init.c:313]Executing hook [50:0] cost [20]us, return 0.
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest004/
Dlast_kmsg29 <14>[ 3.822546] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [1546]us, return 0.
30 <14>[ 3.822584] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [10]us, return 0.
39 <14>[ 3.827907] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [5305]us, return 0.
40 <14>[ 3.827936] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [14]us, return 0.
43 <14>[ 3.832133] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [4176]us, return 0.
177 <14>[ 4.207932] [pid=1][Init][INFO][init.c:313]Executing hook [30:0] cost [9]us, return 0.
182 <14>[ 4.213150] [pid=1][Init][INFO][init.c:313]Executing hook [30:0] cost [5198]us, return 0.
209 <14>[ 4.295965] [pid=1][Init][INFO][init.c:313]Executing hook [50:0] cost [20]us, return 0.
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Dlast_kmsg29 <14>[ 3.822546] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [1546]us, return 0.
30 <14>[ 3.822584] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [10]us, return 0.
39 <14>[ 3.827907] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [5305]us, return 0.
40 <14>[ 3.827936] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [14]us, return 0.
43 <14>[ 3.832133] [pid=1][Init][INFO][init.c:313]Executing hook [0:0] cost [4176]us, return 0.
177 <14>[ 4.207932] [pid=1][Init][INFO][init.c:313]Executing hook [30:0] cost [9]us, return 0.
182 <14>[ 4.213150] [pid=1][Init][INFO][init.c:313]Executing hook [30:0] cost [5198]us, return 0.
209 <14>[ 4.295965] [pid=1][Init][INFO][init.c:313]Executing hook [50:0] cost [20]us, return 0.