Home
last modified time | relevance | path

Searched refs:mallocInfo (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_malloc_info.cpp28 MallocInfo *mallocInfo = new (std::nothrow) MallocInfo(); in Unmarshalling() local
29 if (mallocInfo == nullptr) { in Unmarshalling()
32 mallocInfo->usmblks = parcel.ReadUint64(); in Unmarshalling()
33 mallocInfo->uordblks = parcel.ReadUint64(); in Unmarshalling()
34 mallocInfo->fordblks = parcel.ReadUint64(); in Unmarshalling()
35 mallocInfo->hblkhd = parcel.ReadUint64(); in Unmarshalling()
36 return mallocInfo; in Unmarshalling()
H A Dapp_scheduler_host.cpp203 struct OHOS::AppExecFwk::MallocInfo mallocInfo; in HandleScheduleHeapMemory() local
204 ScheduleHeapMemory(pid, mallocInfo); in HandleScheduleHeapMemory()
205 reply.WriteParcelable(&mallocInfo); in HandleScheduleHeapMemory()
H A Dapp_scheduler_proxy.cpp119 … AppSchedulerProxy::ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) in ScheduleHeapMemory() argument
142 mallocInfo = *info; in ScheduleHeapMemory()
H A Dapp_mgr_stub.cpp664 struct OHOS::AppExecFwk::MallocInfo mallocInfo; in HandleDumpHeapMemory() local
665 auto result = DumpHeapMemory(pid, mallocInfo); in HandleDumpHeapMemory()
669 reply.WriteParcelable(&mallocInfo); in HandleDumpHeapMemory()
H A Dapp_mgr_client.cpp516 …esultCode AppMgrClient::DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) in DumpHeapMemory() argument
523 return AppMgrResultCode(service->DumpHeapMemory(pid, mallocInfo)); in DumpHeapMemory()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dget_heap_info.cpp51 OHOS::AppExecFwk::MallocInfo mallocInfo; in GetInfo() local
52 int ret = appManager->DumpHeapMemory(pid, mallocInfo); in GetInfo()
56 heapInfo.size = mallocInfo.hblkhd / numberSys; in GetInfo()
57 heapInfo.alloc = mallocInfo.uordblks / numberSys; in GetInfo()
58 heapInfo.free = mallocInfo.fordblks / numberSys; in GetInfo()
61 "hblkhd: %{public}llu", ret, static_cast<unsigned long long>(mallocInfo.fordblks), in GetInfo()
62 …static_cast<unsigned long long>(mallocInfo.uordblks), static_cast<unsigned long long>(mallocInfo.h… in GetInfo()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_app_scheduler.h45 …OCK_METHOD2(ScheduleHeapMemory, void(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_lifecycle_deal.h128 void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo);
H A Dapp_running_manager.h222 int32_t DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo);
H A Dapp_mgr_service.h280 …virtual int32_t DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) overri…
H A Dapp_running_record.h446 void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo);
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_lifecycle_deal.cpp142 …d AppLifeCycleDeal::ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) in ScheduleHeapMemory() argument
150 appThread->ScheduleHeapMemory(pid, mallocInfo); in ScheduleHeapMemory()
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_scheduler.h47 …OCK_METHOD2(ScheduleHeapMemory, void(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
H A Dmock_application.h33 …OCK_METHOD2(ScheduleHeapMemory, void(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
H A Dmock_app_mgr_service.h38 MOCK_METHOD2(DumpHeapMemory, int(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_scheduler_interface.h95 … virtual void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) = 0;
H A Dapp_scheduler_proxy.h90 …virtual void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) overr…
H A Dapp_mgr_interface.h278 virtual int DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) = 0;
H A Dapp_mgr_client.h319 …rtual AppMgrResultCode DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo);
H A Dapp_mgr_proxy.h252 …virtual int32_t DumpHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) overri…
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/abilityappmgrapprunningmanager_fuzzer/
H A Dabilityappmgrapprunningmanager_fuzzer.cpp208 OHOS::AppExecFwk::MallocInfo mallocInfo; in DoSomethingInterestingWithMyAPI() local
209 manager->DumpHeapMemory(pidDump, mallocInfo); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_app_mgr_service.h44 MOCK_METHOD2(DumpHeapMemory, int(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo));
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dmain_thread.h180 void ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) override;
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_client_test/
H A Dapp_mgr_client_test.cpp691 OHOS::AppExecFwk::MallocInfo mallocInfo; variable
692 appMgrClient->DumpHeapMemory(pid, mallocInfo);
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dmain_thread.cpp558 void MainThread::ScheduleHeapMemory(const int32_t pid, OHOS::AppExecFwk::MallocInfo &mallocInfo) in ScheduleHeapMemory() argument
568 mallocInfo.usmblks = usmblks; in ScheduleHeapMemory()
569 mallocInfo.uordblks = uordblks; in ScheduleHeapMemory()
570 mallocInfo.fordblks = fordblks; in ScheduleHeapMemory()
571 mallocInfo.hblkhd = hblkhd; in ScheduleHeapMemory()

12