Searched refs:nativeMemInfo (Results 1 - 6 of 6) sorted by relevance
/developtools/profiler/hidebug/frameworks/hidebug_ndk/ |
H A D | hidebug_ndk.cpp | 99 void OH_HiDebug_GetAppNativeMemInfo(HiDebug_NativeMemInfo *nativeMemInfo) in OH_HiDebug_GetAppNativeMemInfo() argument 102 if (!nativeMemInfo || !nativeInterface) { in OH_HiDebug_GetAppNativeMemInfo() 110 nativeMemInfo->pss = static_cast<uint32_t>(nativeMemoryInfo->pss); in OH_HiDebug_GetAppNativeMemInfo() 111 nativeMemInfo->vss = static_cast<uint32_t>(nativeMemoryInfo->vss); in OH_HiDebug_GetAppNativeMemInfo() 112 nativeMemInfo->rss = static_cast<uint32_t>(nativeMemoryInfo->rss); in OH_HiDebug_GetAppNativeMemInfo() 113 nativeMemInfo->sharedDirty = static_cast<uint32_t>(nativeMemoryInfo->sharedDirty); in OH_HiDebug_GetAppNativeMemInfo() 114 nativeMemInfo->privateDirty = static_cast<uint32_t>(nativeMemoryInfo->privateDirty); in OH_HiDebug_GetAppNativeMemInfo() 115 nativeMemInfo->sharedClean = static_cast<uint32_t>(nativeMemoryInfo->sharedClean); in OH_HiDebug_GetAppNativeMemInfo() 116 nativeMemInfo->privateClean = static_cast<uint32_t>(nativeMemoryInfo->privateClean); in OH_HiDebug_GetAppNativeMemInfo()
|
/developtools/profiler/hidebug/test/unittest/native/ |
H A D | hidebug_test.cpp | 209 HiDebug_NativeMemInfo nativeMemInfo;
in HWTEST_F() local 210 OH_HiDebug_GetAppNativeMemInfo(&nativeMemInfo);
in HWTEST_F() 211 ASSERT_TRUE(nativeMemInfo.pss >= 0);
in HWTEST_F() 212 ASSERT_TRUE(nativeMemInfo.vss >= 0);
in HWTEST_F() 213 ASSERT_TRUE(nativeMemInfo.rss >= 0);
in HWTEST_F() 214 ASSERT_TRUE(nativeMemInfo.sharedDirty >= 0);
in HWTEST_F() 215 ASSERT_TRUE(nativeMemInfo.privateDirty >= 0);
in HWTEST_F() 216 ASSERT_TRUE(nativeMemInfo.sharedClean >= 0);
in HWTEST_F() 217 ASSERT_TRUE(nativeMemInfo.privateClean >= 0);
in HWTEST_F()
|
/developtools/profiler/hidebug/frameworks/native/src/ |
H A D | hidebug_native_interface_impl.cpp | 177 HiDebug_NativeMemInfo nativeMemInfo; in GetAppNativeMemInfo() local 179 nativeMemInfo.pss = static_cast<uint32_t>(pssInfo); in GetAppNativeMemInfo() 180 nativeMemInfo.rss = collectResult.data.rss; in GetAppNativeMemInfo() 181 nativeMemInfo.sharedDirty = collectResult.data.sharedDirty; in GetAppNativeMemInfo() 182 nativeMemInfo.privateDirty = collectResult.data.privateDirty; in GetAppNativeMemInfo() 183 nativeMemInfo.sharedClean = static_cast<uint32_t>(collectResult.data.sharedClean); in GetAppNativeMemInfo() 184 nativeMemInfo.privateClean = collectResult.data.privateClean; in GetAppNativeMemInfo() 191 nativeMemInfo.vss = static_cast<uint32_t>(collectVss.data); in GetAppNativeMemInfo() 192 return nativeMemInfo; in GetAppNativeMemInfo()
|
/developtools/profiler/hidebug/interfaces/cj/ |
H A D | hidebug_ffi.cpp | 228 auto nativeMemInfo = nativeInterface->GetAppNativeMemInfo(); in FfiHidebugGetAppNativeMemInfo() local 229 if (!nativeMemInfo) { in FfiHidebugGetAppNativeMemInfo() 233 info.pss = nativeMemInfo->pss; in FfiHidebugGetAppNativeMemInfo() 234 info.vss = nativeMemInfo->vss; in FfiHidebugGetAppNativeMemInfo() 235 info.rss = nativeMemInfo->rss; in FfiHidebugGetAppNativeMemInfo() 236 info.sharedDirty = nativeMemInfo->sharedDirty; in FfiHidebugGetAppNativeMemInfo() 237 info.privateDirty = nativeMemInfo->privateDirty; in FfiHidebugGetAppNativeMemInfo() 238 info.sharedClean = nativeMemInfo->sharedClean; in FfiHidebugGetAppNativeMemInfo() 239 info.privateClean = nativeMemInfo->privateClean; in FfiHidebugGetAppNativeMemInfo()
|
/developtools/profiler/hidebug/interfaces/native/kits/include/hidebug/ |
H A D | hidebug.h | 97 * @param nativeMemInfo Indicates the pointer to {@link HiDebug_NativeMemInfo}. 101 void OH_HiDebug_GetAppNativeMemInfo(HiDebug_NativeMemInfo *nativeMemInfo);
|
/developtools/profiler/hidebug/interfaces/js/kits/napi/ |
H A D | napi_hidebug.cpp | 755 auto nativeMemInfo = nativeInterface->GetAppNativeMemInfo(); in GetAppNativeMemInfo() local 756 if (!nativeMemInfo) { in GetAppNativeMemInfo() 764 napi_create_bigint_uint64(env, nativeMemInfo->pss, &pss); in GetAppNativeMemInfo() 768 napi_create_bigint_uint64(env, nativeMemInfo->rss, &rss); in GetAppNativeMemInfo() 772 napi_create_bigint_uint64(env, nativeMemInfo->sharedDirty, &sharedDirty); in GetAppNativeMemInfo() 776 napi_create_bigint_uint64(env, nativeMemInfo->privateDirty, &privateDirty); in GetAppNativeMemInfo() 780 napi_create_bigint_uint64(env, nativeMemInfo->sharedClean, &sharedClean); in GetAppNativeMemInfo() 784 napi_create_bigint_uint64(env, nativeMemInfo->privateClean, &privateClean); in GetAppNativeMemInfo() 788 napi_create_bigint_uint64(env, nativeMemInfo->vss, &vss); in GetAppNativeMemInfo()
|
Completed in 7 milliseconds