Searched refs:GetDataSize (Results 1 – 11 of 11) sorted by relevance
/developtools/profiler/device/services/shared_memory/test/unittest/ |
D | shared_memory_block_test.cpp | 120 } 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 …]
|
D | shared_memory_allocator_test.cpp | 131 HWTEST_F(SharedMemoryAllocatorTest, GetDataSize, TestSize.Level1) 134 …ASSERT_TRUE(ShareMemoryAllocator::GetInstance().FindMemoryBlockByName("testname")->GetDataSize() =…
|
/developtools/hiperf/test/unittest/common/native/ |
D | perf_file_writer_test.cpp | 100 ASSERT_EQ(fileWriter.GetDataSize(), dataSize); 133 ASSERT_EQ(fileWriter.GetDataSize(), dataSize);
|
/developtools/profiler/hiebpf/src/ |
D | bpf_event_receiver.cpp | 27 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()
|
D | hhlog.cpp | 149 auto dataSize = buf_->GetDataSize(); in SaveLog()
|
/developtools/hiperf/include/ |
D | perf_file_writer.h | 60 uint64_t GetDataSize() const;
|
/developtools/profiler/device/services/shared_memory/include/ |
D | share_memory_block.h | 79 uint32_t GetDataSize();
|
/developtools/profiler/hiebpf/include/ |
D | ringbuffer.h | 52 inline std::size_t GetDataSize() in GetDataSize() function
|
/developtools/profiler/device/services/shared_memory/src/ |
D | share_memory_block.cpp | 351 auto size = GetDataSize(); in TakeData() 362 uint32_t ShareMemoryBlock::GetDataSize() in GetDataSize() function in ShareMemoryBlock
|
/developtools/hiperf/src/ |
D | perf_file_writer.cpp | 217 uint64_t PerfFileWriter::GetDataSize() const in GetDataSize() function in OHOS::Developtools::HiPerf::PerfFileWriter
|
D | subcommand_record.cpp | 1335 if (dataSizeLimit_ <= fileWriter_->GetDataSize()) { in SaveRecord() 1340 fileWriter_->GetDataSize(), dataSizeLimit_); in SaveRecord() 1807 double mb = static_cast<double>(fileWriter_->GetDataSize()) / (KILO * KILO); in RecordCompleted()
|