Home
last modified time | relevance | path

Searched refs:smq (Results 1 – 2 of 2) sorted by relevance

/test/xts/hats/hdf/manager/managerBenchmarkTest/
Dhdf_manager_benchmark_test.cpp348 std::unique_ptr<SharedMemQueue<SampleSmqElement>> smq = in BENCHMARK_F() local
350 ASSERT_TRUE(smq->IsGood()); in BENCHMARK_F()
354 ret = smq->GetMeta()->Marshalling(data); in BENCHMARK_F()
365 auto status = smq->Write(&t, 1, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME)); in BENCHMARK_F()
391 std::unique_ptr<SharedMemQueue<SampleSmqElement>> smq = in BENCHMARK_F() local
393 ASSERT_TRUE(smq->IsGood()); in BENCHMARK_F()
396 ret = smq->GetMeta()->Marshalling(data); in BENCHMARK_F()
410 auto status = smq->Write(&t, 1, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME)); in BENCHMARK_F()
412 status = smq->Write(&t, 1, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME)); in BENCHMARK_F()
/test/xts/hats/hdf/manager/managerServiceTest/
Dservice_manager_hdi_test.cpp566 std::unique_ptr<SharedMemQueue<SampleSmqElement>> smq = variable
568 ASSERT_TRUE(smq->IsGood());
571 ret = smq->GetMeta()->Marshalling(data);
585 auto status = smq->Write(&t, 1, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME));
607 std::unique_ptr<SharedMemQueue<SampleSmqElement>> smq = variable
609 ASSERT_TRUE(smq->IsGood());
613 ret = smq->GetMeta()->Marshalling(data);
628 auto status = smq->Write(&t[0], ELEMENT_SIZE, OHOS::MillisecToNanosec(SMQ_TEST_WAIT_TIME));
651 std::unique_ptr<SharedMemQueue<SampleSmqElement>> smq = variable
653 ASSERT_TRUE(smq->IsGood());
[all …]