Home
last modified time | relevance | path

Searched refs:collectResult (Results 1 - 5 of 5) sorted by relevance

/developtools/profiler/hidebug/frameworks/native/src/
H A Dhidebug_native_interface_impl.cpp77 auto collectResult = threadCpu_.CollectThreadStatInfos(); in GetAppThreadCpuUsage() local
78 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetAppThreadCpuUsage()
79 HILOG_ERROR(LOG_CORE, "GetAppThreadCpuUsage fail, ret: %{public}d", static_cast<int>(collectResult.retCode)); in GetAppThreadCpuUsage()
83 for (const auto &threadCpuStatInfo : collectResult.data) { in GetAppThreadCpuUsage()
131 auto collectResult = collector->GetSysCpuUsage(); in GetSystemCpuUsage() local
132 if (collectResult.retCode != UCollect::UcError::SUCCESS) { in GetSystemCpuUsage()
134 static_cast<int>(collectResult.retCode)); in GetSystemCpuUsage()
137 cachedValue = collectResult.data; in GetSystemCpuUsage()
149 auto collectResult = collector->CollectMemoryLimit(); in GetAppMemoryLimit() local
150 if (collectResult in GetAppMemoryLimit()
170 auto collectResult = collector->CollectProcessMemory(pid); GetAppNativeMemInfo() local
202 auto collectResult = collector->CollectSysMemory(); GetSystemMemInfo() local
269 auto collectResult = collector->GetGraphicUsage(); GetGraphicsMemory() local
[all...]
/developtools/profiler/hidebug/interfaces/cj/
H A Dhidebug_ffi.cpp90 auto collectResult = collector->CollectProcessMemory(pid); in FfiHidebugGetPss() local
91 int32_t pssInfo = collectResult.data.pss + collectResult.data.swapPss; in FfiHidebugGetPss()
103 auto collectResult = collector->CollectProcessVss(pid); in FfiHidebugGetVss() local
104 uint64_t vssInfo = collectResult.data; in FfiHidebugGetVss()
134 auto collectResult = collector->CollectProcessMemory(pid); in FfiHidebugGetSharedDirty() local
135 int32_t sharedDirtyInfo = collectResult.data.sharedDirty; in FfiHidebugGetSharedDirty()
147 auto collectResult = collector->CollectProcessMemory(pid); in FfiHidebugGetPrivateDirty() local
148 int32_t privateDirty = collectResult.data.privateDirty; in FfiHidebugGetPrivateDirty()
/developtools/profiler/hidebug/frameworks/hidebug_ndk/
H A Dhidebug_ndk.cpp91 auto collectResult = nativeInterface->GetAppMemoryLimit(); in OH_HiDebug_GetAppMemoryLimit() local
92 if (!collectResult) { in OH_HiDebug_GetAppMemoryLimit()
95 memoryLimit->vssLimit = collectResult->vssLimit; in OH_HiDebug_GetAppMemoryLimit()
96 memoryLimit->rssLimit = collectResult->rssLimit; in OH_HiDebug_GetAppMemoryLimit()
/developtools/profiler/host/smartperf/client/client_command/
H A DCPU.cpp156 auto collectResult = collector->CollectProcessCpuStatInfo(procId, true); in GetSysProcessCpuLoad() local
157 auto data = collectResult.data; in GetSysProcessCpuLoad()
/developtools/profiler/hidebug/interfaces/js/kits/napi/
H A Dnapi_hidebug.cpp454 auto collectResult = collector->CollectProcessMemory(pid); in GetPss() local
455 int32_t pssInfo = collectResult.data.pss + collectResult.data.swapPss; in GetPss()
470 auto collectResult = collector->CollectProcessMemory(pid); in GetSharedDirty() local
471 int32_t sharedDirtyInfo = collectResult.data.sharedDirty; in GetSharedDirty()
486 auto collectResult = collector->CollectProcessMemory(pid); in GetPrivateDirty() local
487 int32_t privateDirty = collectResult.data.privateDirty; in GetPrivateDirty()
567 auto collectResult = collector->CollectProcessVss(pid); in GetVss() local
568 uint64_t vssInfo = collectResult.data; in GetVss()

Completed in 6 milliseconds