On Thu, 21 Jul 2005 10:42:51 +0200 gimpel <[EMAIL PROTECTED]> wrote: > Oh heh. BUG BUG! > It currently still shows KB in memory module where it > should be MB :) > > cheers!
To answer myself....
i edited the mem_swap_get() and mem_real_get()
stuff in e_mod_main.c line 488ff : MB to GB, KB to MB and B to KB
they both seem to return KB values...
if (bytes > 1048576 )
snprintf(buf, 64, "%ldGB", bytes/1048576);
else if (bytes > 1024 && bytes < 1048576 )
snprintf(buf, 64, "%ldMB", bytes/1024);
else
snprintf(buf, 64, "%ldKB", bytes);
edje_object_part_text_set(face->mem, "mem-real-text", buf);
}
etc etc..
Now it gives me 190MB memory in use, which is correct, KB would have
been a bit few, even it would be kewl, hehe
Regards
Tom
pgpk9il07bwlH.pgp
Description: PGP signature
