Home
last modified time | relevance | path

Searched refs:collector (Results 1 - 8 of 8) sorted by relevance

/developtools/profiler/hidebug/frameworks/native/src/
H A Dhidebug_native_interface_impl.cpp126 std::shared_ptr<UCollectClient::CpuCollector> collector = UCollectClient::CpuCollector::Create(); in GetSystemCpuUsage()
127 if (!collector) { in GetSystemCpuUsage()
131 auto collectResult = collector->GetSysCpuUsage(); in GetSystemCpuUsage()
144 auto collector = UCollectUtil::MemoryCollector::Create(); in GetAppMemoryLimit() local
145 if (!collector) { in GetAppMemoryLimit()
149 auto collectResult = collector->CollectMemoryLimit(); in GetAppMemoryLimit()
164 std::shared_ptr<UCollectUtil::MemoryCollector> collector = UCollectUtil::MemoryCollector::Create(); in GetAppNativeMemInfo() local
165 if (!collector) { in GetAppNativeMemInfo()
170 auto collectResult = collector->CollectProcessMemory(pid); in GetAppNativeMemInfo()
186 auto collectVss = collector in GetAppNativeMemInfo()
197 std::shared_ptr<UCollectUtil::MemoryCollector> collector = UCollectUtil::MemoryCollector::Create(); GetSystemMemInfo() local
[all...]
/developtools/profiler/hidebug/interfaces/cj/
H A Dhidebug_ffi.cpp87 std::shared_ptr<UCollectUtil::MemoryCollector> collector = UCollectUtil::MemoryCollector::Create(); in FfiHidebugGetPss() local
88 if (collector != nullptr) { in FfiHidebugGetPss()
90 auto collectResult = collector->CollectProcessMemory(pid); in FfiHidebugGetPss()
100 std::shared_ptr<UCollectUtil::MemoryCollector> collector = UCollectUtil::MemoryCollector::Create(); in FfiHidebugGetVss() local
101 if (collector != nullptr) { in FfiHidebugGetVss()
103 auto collectResult = collector->CollectProcessVss(pid); in FfiHidebugGetVss()
131 std::shared_ptr<UCollectUtil::MemoryCollector> collector = UCollectUtil::MemoryCollector::Create(); in FfiHidebugGetSharedDirty() local
132 if (collector != nullptr) { in FfiHidebugGetSharedDirty()
134 auto collectResult = collector->CollectProcessMemory(pid); in FfiHidebugGetSharedDirty()
144 std::shared_ptr<UCollectUtil::MemoryCollector> collector in FfiHidebugGetPrivateDirty() local
[all...]
/developtools/profiler/host/smartperf/client/client_command/
H A DGPU.cpp52 std::shared_ptr<GpuCollector> collector = GpuCollector::Create(); in GetGpuFreq() local
53 CollectResult<GpuFreq> result = collector->CollectGpuFrequency(); in GetGpuFreq()
60 std::shared_ptr<GpuCollector> collector = GpuCollector::Create(); in GetGpuLoad() local
61 CollectResult<SysGpuLoad> result = collector->CollectSysGpuLoad(); in GetGpuLoad()
H A DCPU.cpp103 std::shared_ptr<CpuCollector> collector = CpuCollector::Create(); in GetCpuFreq() local
104 CollectResult<std::vector<CpuFreq>> result = collector->CollectCpuFrequency(); in GetCpuFreq()
120 std::shared_ptr<CpuCollector> collector = CpuCollector::Create(); in GetCpuUsage() local
121 CollectResult<SysCpuUsage> result = collector->CollectSysCpuUsage(true); in GetCpuUsage()
155 std::shared_ptr<CpuCollector> collector = CpuCollector::Create(); in GetSysProcessCpuLoad() local
156 auto collectResult = collector->CollectProcessCpuStatInfo(procId, true); in GetSysProcessCpuLoad()
H A DRAM.cpp126 std::shared_ptr<MemoryCollector> collector = MemoryCollector::Create(); in GetSysRamInfo() local
127 if (collector == nullptr) { in GetSysRamInfo()
128 LOGE("RAM::GetSysRamInfo collector is nullptr!"); in GetSysRamInfo()
131 CollectResult<SysMemory> result = collector->CollectSysMemory(); in GetSysRamInfo()
H A Dsp_utils.cpp624 std::shared_ptr<CpuCollector> collector = CpuCollector::Create(); in GetCpuNum() local
625 CollectResult<std::vector<CpuFreq>> result = collector->CollectCpuFrequency(); in GetCpuNum()
/developtools/profiler/hidebug/interfaces/js/kits/napi/
H A Dnapi_hidebug.cpp451 std::shared_ptr<UCollectUtil::MemoryCollector> collector = UCollectUtil::MemoryCollector::Create(); in GetPss() local
452 if (collector != nullptr) { in GetPss()
454 auto collectResult = collector->CollectProcessMemory(pid); in GetPss()
467 std::shared_ptr<UCollectUtil::MemoryCollector> collector = UCollectUtil::MemoryCollector::Create(); in GetSharedDirty() local
468 if (collector != nullptr) { in GetSharedDirty()
470 auto collectResult = collector->CollectProcessMemory(pid); in GetSharedDirty()
483 std::shared_ptr<UCollectUtil::MemoryCollector> collector = UCollectUtil::MemoryCollector::Create(); in GetPrivateDirty() local
484 if (collector != nullptr) { in GetPrivateDirty()
486 auto collectResult = collector->CollectProcessMemory(pid); in GetPrivateDirty()
564 std::shared_ptr<UCollectUtil::MemoryCollector> collector in GetVss() local
[all...]
/developtools/profiler/device/plugins/memory_plugin/src/
H A Dmemory_data_plugin.cpp1260 std::shared_ptr<GraphicMemoryCollector> collector = GraphicMemoryCollector::Create(); in GetGraphicsMemory() local
1262 data = collector->GetGraphicUsage(pid, graphicType); in GetGraphicsMemory()

Completed in 11 milliseconds