mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-23 07:29:42 +00:00
补充用例
Signed-off-by: wenlong_12 <wenlong12@huawei.com>
This commit is contained in:
parent
b1b59cb25f
commit
103ffb6f55
@ -962,7 +962,7 @@ HWTEST_F(SubCommandStatTest, TestOnSubCommand_d5, TestSize.Level1)
|
||||
int tid1 = 0;
|
||||
std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1));
|
||||
while (tid1 == 0) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10)); // 10: sleep 10ms
|
||||
}
|
||||
|
||||
std::string cmdstr = "stat -p ";
|
||||
@ -1000,7 +1000,7 @@ HWTEST_F(SubCommandStatTest, TestOnSubCommand_d6, TestSize.Level1)
|
||||
int tid1 = 0;
|
||||
std::thread t1(SubCommandStatTest::TestCodeThread, std::ref(tid1));
|
||||
while (tid1 == 0) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10)); // 10: sleep 10ms
|
||||
}
|
||||
|
||||
std::string cmdstr = "stat -p ";
|
||||
|
Loading…
Reference in New Issue
Block a user