Home
last modified time | relevance | path

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

/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
H A Dthread_sampler_test.cpp34 constexpr int SAMPLE_CNT = 10; member
63 int32_t left = (INTERVAL * SAMPLE_CNT + INTERVAL) / MILLSEC_TO_MICROSEC + waitDelay; in WaitSomeTime()
68 sleep((INTERVAL * SAMPLE_CNT + INTERVAL) / MILLSEC_TO_MICROSEC + waitDelay); in WaitSomeTime()
117 * @tc.desc: sample thread SAMPLE_CNT times and check the stacktrace
124 printf("Total:%dMS Sample:%dMS \n", INTERVAL * SAMPLE_CNT + INTERVAL, INTERVAL); in HWTEST_F()
136 initFunc(SAMPLE_CNT); in HWTEST_F()
147 for (int i = 0; i < SAMPLE_CNT; i++) { in HWTEST_F()
151 Watchdog::GetInstance().RunOneShotTask("CollectStackTest", collectHandler, INTERVAL * SAMPLE_CNT + INTERVAL); in HWTEST_F()
164 * @tc.desc: sample thread SAMPLE_CNT times and check the stacktrace in tree format
171 printf("Total:%dMS Sample:%dMS \n", INTERVAL * SAMPLE_CNT in HWTEST_F()
[all...]

Completed in 1 milliseconds