Esempio n. 1
0
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);
}
Esempio n. 2
0
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;
}
Esempio n. 3
0
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);
}
Esempio n. 4
0
static void check_heap_space(void){
	sprintf(txtbuffer,"At least %dKB MEM1 available", SYS_GetArena1Size()/1024);
	DEBUG_print(txtbuffer,DBG_MEMFREEINFO);
}