Home
last modified time | relevance | path

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

/developtools/profiler/device/services/profiler_service/test/unittest/
Dprofiler_service_performance_test.cpp533 auto timeCost = timer.ElapsedUs(); variable
534 printf("GetCapabilities %d time cost %ldus.\n", ROUND_COUNT, timeCost);
535 EXPECT_LE(timeCost, TIMEOUT_US);
542 timeCost = timer.ElapsedUs();
543 printf("CreateSession cost %ldus.\n", timeCost);
544 EXPECT_LE(timeCost, TIMEOUT_US);
549 timeCost = timer.ElapsedUs();
550 printf("KeepSession %d time cost %ldus.\n", ROUND_COUNT, timeCost);
551 EXPECT_LE(timeCost, TIMEOUT_US);
574 timeCost = timer.ElapsedUs();
[all …]
Dprofiler_service_test.cpp302 auto timeCost = timer.ElapsedUs(); variable
303 printf("GetCapabilities %d time cost %ldus.\n", ROUND_COUNT, timeCost);
304 EXPECT_LE(timeCost, TIMEOUT_US);
450 auto timeCost = timer.ElapsedUs(); variable
451 printf("CreateSession %d time, cost %ldus.\n", ROUND_COUNT, timeCost);
452 EXPECT_LE(timeCost, TIMEOUT_US);
577 auto timeCost = timer.ElapsedUs(); variable
578 printf("CreateSession %d time, cost %ldus.\n", ROUND_COUNT, timeCost);
579 EXPECT_LE(timeCost, TIMEOUT_US);
585 timeCost = timer.ElapsedUs();
[all …]
/developtools/profiler/hiebpf/test/
Dhiebpf_test_demo.cpp190 auto timeCost = ThreadTimeCost(threadNum, writeReadTime); in main() local
191 if (timeCost > 0) { in main()
192 printf("Time cost %ld us.\n", timeCost); in main()
/developtools/profiler/device/plugins/native_hook/test/
Dhook_test.cpp192 auto timeCost = timer.ElapsedUs(); in ThreadTimeCost() local
193 …ore hook, time cost %ldus.\nAfter hook test sleeping 200 ......., please send signal\n", timeCost); in ThreadTimeCost()
/developtools/profiler/device/plugins/native_daemon/src/
Dstack_preprocess.cpp28 static std::atomic<uint64_t> timeCost = 0; variable
266 timeCost += curTimeCost; in TakeResults()
270 unwindTimes.load(), timeCost.load(), timeCost.load() / unwindTimes.load()); in TakeResults()