Home
last modified time | relevance | path

Searched refs:GetDataSize (Results 1 – 11 of 11) sorted by relevance

/developtools/profiler/device/services/shared_memory/test/unittest/
Dshared_memory_block_test.cpp120 } while (shareMemoryBlock.Next() && shareMemoryBlock.GetDataSize() > 0);
147 } while (shareMemoryBlock.Next() && shareMemoryBlock.GetDataSize() > 0);
161 ASSERT_TRUE(shareMemoryBlock.GetDataSize() == 0);
166 EXPECT_EQ(shareMemoryBlock.GetDataSize(), response.ByteSizeLong());
167 response.ParseFromArray(shareMemoryBlock.GetDataPoint(), shareMemoryBlock.GetDataSize());
175 EXPECT_EQ(shareMemoryBlock.GetDataSize(), response2.ByteSizeLong());
176 response2.ParseFromArray(shareMemoryBlock.GetDataPoint(), shareMemoryBlock.GetDataSize());
183 EXPECT_EQ(shareMemoryBlock.GetDataSize(), request.ByteSizeLong());
197 ASSERT_TRUE(shareMemoryBlock.GetDataSize() == 0);
202 EXPECT_EQ(shareMemoryBlock.GetDataSize(), response.ByteSizeLong());
[all …]
Dshared_memory_allocator_test.cpp131 HWTEST_F(SharedMemoryAllocatorTest, GetDataSize, TestSize.Level1)
134 …ASSERT_TRUE(ShareMemoryAllocator::GetInstance().FindMemoryBlockByName("testname")->GetDataSize() =…
/developtools/hiperf/test/unittest/common/native/
Dperf_file_writer_test.cpp100 ASSERT_EQ(fileWriter.GetDataSize(), dataSize);
133 ASSERT_EQ(fileWriter.GetDataSize(), dataSize);
/developtools/profiler/hiebpf/src/
Dbpf_event_receiver.cpp27 if (buf_->GetDataSize()) { in DoWork()
31 if (buf_->GetDataSize() == 0) { in DoWork()
33 cond_.wait(lk, [this]()->bool {return this->stop_ || this->buf_->GetDataSize();}); in DoWork()
39 while (buf_->GetDataSize() != 0) { in DoWork()
Dhhlog.cpp149 auto dataSize = buf_->GetDataSize(); in SaveLog()
/developtools/hiperf/include/
Dperf_file_writer.h60 uint64_t GetDataSize() const;
/developtools/profiler/device/services/shared_memory/include/
Dshare_memory_block.h79 uint32_t GetDataSize();
/developtools/profiler/hiebpf/include/
Dringbuffer.h52 inline std::size_t GetDataSize() in GetDataSize() function
/developtools/profiler/device/services/shared_memory/src/
Dshare_memory_block.cpp351 auto size = GetDataSize(); in TakeData()
362 uint32_t ShareMemoryBlock::GetDataSize() in GetDataSize() function in ShareMemoryBlock
/developtools/hiperf/src/
Dperf_file_writer.cpp217 uint64_t PerfFileWriter::GetDataSize() const in GetDataSize() function in OHOS::Developtools::HiPerf::PerfFileWriter
Dsubcommand_record.cpp1335 if (dataSizeLimit_ <= fileWriter_->GetDataSize()) { in SaveRecord()
1340 fileWriter_->GetDataSize(), dataSizeLimit_); in SaveRecord()
1807 double mb = static_cast<double>(fileWriter_->GetDataSize()) / (KILO * KILO); in RecordCompleted()