Home
last modified time | relevance | path

Searched refs:sendHeart (Results 1 - 2 of 2) sorted by relevance

/developtools/profiler/device/services/profiler_service/test/unittest/
H A Dprofiler_service_performance_test.cpp581 bool sendHeart = true; in HWTEST_F() local
584 while (sendHeart && loopCount < LOOP_COUNT) { in HWTEST_F()
593 if (sendHeart) { in HWTEST_F()
706 sendHeart = false; in HWTEST_F()
818 bool sendHeart = true; in HWTEST_F() local
821 while (sendHeart && loopCount < LOOP_COUNT) { in HWTEST_F()
830 if (sendHeart) { in HWTEST_F()
896 sendHeart = false; in HWTEST_F()
1054 bool sendHeart = true; in HWTEST_F() local
1057 while (sendHeart in HWTEST_F()
1199 bool sendHeart = true; HWTEST_F() local
1330 bool sendHeart = true; HWTEST_F() local
1472 bool sendHeart = true; HWTEST_F() local
1630 bool sendHeart = true; HWTEST_F() local
[all...]
/developtools/profiler/device/cmds/src/
H A Dmain.cpp265 void StartThread(std::unique_ptr<IProfilerService::Stub>& profilerStub, uint32_t& id, std::atomic<bool>& sendHeart) in StartThread() argument
267 while (sendHeart.load()) { in StartThread()
281 void StopThread(std::thread& keepSessionThread, std::atomic<bool>& sendHeart) in StopThread() argument
283 sendHeart = false; in StopThread()
316 std::atomic<bool> sendHeart = true; in DoCapture() local
317 std::thread keepSessionThread(StartThread, std::ref(profilerStub), std::ref(sessionId), std::ref(sendHeart)); in DoCapture()
321 StopThread(keepSessionThread, sendHeart); in DoCapture()
342 StopThread(keepSessionThread, sendHeart); in DoCapture()

Completed in 3 milliseconds