forked from len0rd/rockbox
Doom for the Gigabeat and some code reduction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12051 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3b65fc2480
commit
b47a43aa28
24 changed files with 247 additions and 277 deletions
|
@ -115,7 +115,8 @@ static void Z_PrintStats(void) // Print allocation statistics
|
|||
unsigned long total_memory = free_memory + active_memory +
|
||||
purgable_memory + inactive_memory +
|
||||
virtual_memory;
|
||||
double s = 100.0 / total_memory;
|
||||
// double s = 100.0 / total_memory;
|
||||
int s = 100/total_memory;
|
||||
|
||||
doom_printf("%-5u\t%6.01f%%\tstatic\n"
|
||||
"%-5u\t%6.01f%%\tpurgable\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue