Home
last modified time | relevance | path

Searched refs:CurWordSize (Results 1 – 8 of 8) sorted by relevance

/developtools/profiler/device/plugins/memory_plugin/test/unittest/
Dbuffer_splitter_unittest.cpp57 EXPECT_EQ((size_t)0, totalbuffer.CurWordSize());
73 EXPECT_EQ((size_t)0, totalbuffer.CurWordSize());
89 EXPECT_EQ((size_t)0, totalbuffer.CurWordSize());
105 EXPECT_EQ((size_t)0, totalbuffer.CurWordSize());
123 EXPECT_EQ(expect.curWordSz, totalbuffer.CurWordSize());
141 EXPECT_EQ(expect.curWordSz, totalbuffer.CurWordSize());
159 EXPECT_EQ(expect.curWordSz, totalbuffer.CurWordSize());
183 EXPECT_EQ(expect[i].curWordSz, totalbuffer.CurWordSize());
204 EXPECT_EQ(expect.curWordSz, totalbuffer.CurWordSize());
225 EXPECT_EQ(expect[i].curWordSz, totalbuffer.CurWordSize());
[all …]
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp216 const_cast<char *>(totalbuffer.CurWord())[totalbuffer.CurWordSize()] = '\0'; in WriteMeminfo()
275 const_cast<char *>(totalbuffer.CurWord())[totalbuffer.CurWordSize()] = '\0'; in WriteVmstat()
282 char* valuestr = const_cast<char *>(totalbuffer.CurWord() + totalbuffer.CurWordSize() + 1); in WriteVmstat()
712 int key = GetProcStatusId(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in WriteProcess()
718 processMemoryInfo.set_name(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in WriteProcess()
865 std::string curWord = std::string(totalBuffer.CurWord(), totalBuffer.CurWordSize()); in WriteAshmemInfo()
956 std::string curWord = std::string(totalBuffer.CurWord(), totalBuffer.CurWordSize()); in WriteDmaInfo()
1012 gpuMemoryInfo->set_gpu_name(std::string(totalBuffer.CurWord(), totalBuffer.CurWordSize())); in WriteGpuMemInfo()
1032 std::string curWord = std::string(buffer.CurWord(), buffer.CurWordSize()); in WriteGpuMemInfo()
1088 … gpuDetailInfo->set_module_name(std::string(totalBuffer.CurWord(), totalBuffer.CurWordSize())); in SetGpuDumpInfo()
[all …]
/developtools/profiler/device/plugins/diskio_plugin/src/
Ddiskio_data_plugin.cpp171 std::string curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in SetDiskioData()
178 curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in SetDiskioData()
186 curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in SetDiskioData()
/developtools/profiler/device/plugins/memory_plugin/include/
Dbuffer_splitter.h47 size_t CurWordSize() const in CurWordSize() function
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp205 if (BufnCmp(totalbuffer.CurWord(), totalbuffer.CurWordSize(), "Name", strlen("Name"))) { in WriteProcess()
210 processinfo.set_name(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in WriteProcess()
211 … } else if (BufnCmp(totalbuffer.CurWord(), totalbuffer.CurWordSize(), "Pid", strlen("Pid"))) { in WriteProcess()
222 … } else if (BufnCmp(totalbuffer.CurWord(), totalbuffer.CurWordSize(), "PPid", strlen("PPid"))) { in WriteProcess()
233 … } else if (BufnCmp(totalbuffer.CurWord(), totalbuffer.CurWordSize(), "Uid", strlen("Uid"))) { in WriteProcess()
238 std::string curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in WriteProcess()
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_data_plugin.cpp272 std::string curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in WriteProcessCpuUsage()
416 std::string curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in WriteSystemCpuUsage()
593 …size_t nameLeng = totalbuffer.CurWordSize() > 1 ? static_cast<size_t>(totalbuffer.CurWordSize() - … in WriteThread()
597 std::string curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in WriteThread()
601 std::string curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in WriteThread()
/developtools/profiler/device/plugins/network_plugin/src/
Dnetwork_plugin.cpp240 … strncpy_s(tmp, sizeof(tmp), totalbuffer.CurWord(), totalbuffer.CurWordSize()) == EOK) { in ReadTxRxBytes()
308 … strncpy_s(tmp, sizeof(tmp), totalbuffer.CurWord(), totalbuffer.CurWordSize()) == EOK) { in ReadSystemTxRxBytes()
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dcheck_hook_data_test.cpp416 std::string curWord = std::string(totalbuffer.CurWord(), totalbuffer.CurWordSize()); in Getdata()