Searched refs:heap_info (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/utils/system/ |
A D | module_system.c | 63 amp_heap_info_t heap_info; in native_system_memory() local 65 ret = amp_heap_memory_info(&heap_info); in native_system_memory() 73 duk_push_number(ctx, heap_info.heap_total); in native_system_memory() 76 duk_push_number(ctx, heap_info.heap_used); in native_system_memory() 79 duk_push_number(ctx, heap_info.heap_free); in native_system_memory()
|
/AliOS-Things-master/components/py_engine/modules/system/ |
A D | modsystem.c | 73 amp_heap_info_t heap_info; in obj_getMemory() local 75 ret = amp_heap_memory_info(&heap_info); in obj_getMemory() 81 …mp_obj_dict_store(dict, mp_obj_new_str("total",strlen("total")), mp_obj_new_int(heap_info.heap_tot… in obj_getMemory() 82 …mp_obj_dict_store(dict, mp_obj_new_str("used",strlen("used")), mp_obj_new_int(heap_info.heap_used)… in obj_getMemory() 83 …mp_obj_dict_store(dict, mp_obj_new_str("free",strlen("free")), mp_obj_new_int(heap_info.heap_free)… in obj_getMemory()
|
/AliOS-Things-master/components/amp_adapter/platform/aos/ |
A D | aos_system.c | 175 int amp_heap_memory_info(amp_heap_info_t *heap_info) in amp_heap_memory_info() argument 177 heap_info->heap_total = g_kmm_head->free_size + g_kmm_head->used_size; in amp_heap_memory_info() 178 heap_info->heap_used = g_kmm_head->used_size; in amp_heap_memory_info() 179 heap_info->heap_free = g_kmm_head->free_size; in amp_heap_memory_info()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/system/ |
A D | module_system.c | 88 amp_heap_info_t heap_info; in native_system_memory() local 90 ret = amp_heap_memory_info(&heap_info); in native_system_memory() 97 JS_SetPropertyStr(ctx, t, "heapTotal", JS_NewInt32(ctx, heap_info.heap_total)); in native_system_memory() 98 JS_SetPropertyStr(ctx, t, "heapUsed", JS_NewInt32(ctx, heap_info.heap_used)); in native_system_memory() 99 JS_SetPropertyStr(ctx, t, "heapFree", JS_NewInt32(ctx, heap_info.heap_free)); in native_system_memory()
|
/AliOS-Things-master/components/amp_adapter/include/ |
A D | aos_system.h | 112 int amp_heap_memory_info(amp_heap_info_t *heap_info);
|
/AliOS-Things-master/components/amp_adapter/platform/linux/ |
A D | aos_system.c | 585 int amp_heap_memory_info(amp_heap_info_t *heap_info) in amp_heap_memory_info() argument
|
Completed in 13 milliseconds