static void check_heap_space(void){ sprintf(txtbuffer,"%ldKB MEM1 available", SYS_GetArena1Size()/1024); DEBUG_print(txtbuffer,DBG_MEMFREEINFO); sprintf(txtbuffer,"Dynarec (KB) %04ld/%04ld",dyna_used,dyna_total/1024); DEBUG_print(txtbuffer,DBG_CORE1); }
static uint64_t frontend_gx_get_mem_used(void) { uint64_t total = SYSMEM1_SIZE - SYS_GetArena1Size(); #if defined(HW_RVL) && !defined(IS_SALAMANDER) total += gx_mem2_used(); #endif return total; }
static void check_heap_space(void){ sprintf(txtbuffer,"%dKB MEM1 available", SYS_GetArena1Size()/1024); DEBUG_print(txtbuffer,DBG_MEMFREEINFO); sprintf(txtbuffer,"Dynarec (KB) %04d/%04d",dyna_used,dyna_total/1024); DEBUG_print(txtbuffer,DBG_CORE1); sprintf(txtbuffer,"DSP is at %f%%",AESND_GetDSPProcessUsage()); DEBUG_print(txtbuffer,DBG_CORE2); }
static void check_heap_space(void){ sprintf(txtbuffer,"At least %dKB MEM1 available", SYS_GetArena1Size()/1024); DEBUG_print(txtbuffer,DBG_MEMFREEINFO); }