forked from enlightenment/evisum
units: Someone will complain...and they will be...
right :)
This commit is contained in:
parent
552984d116
commit
9b1c395a15
|
@ -59,11 +59,11 @@ _background_poller_cb(void *data, Ecore_Thread *thread)
|
|||
if (file_system_in_use("ZFS"))
|
||||
ui->mem_used += memory.zfs_arc_used;
|
||||
|
||||
for (int i = 0; i < 8; i++)
|
||||
for (int i = 0; i < 16; i++)
|
||||
{
|
||||
if (ecore_thread_check(thread))
|
||||
break;
|
||||
usleep(125000);
|
||||
usleep(62500);
|
||||
}
|
||||
|
||||
if (cpu_time_prev)
|
||||
|
|
|
@ -111,8 +111,8 @@ evisum_size_format(unsigned long long bytes)
|
|||
unsigned int precision = 2, powj = 1;
|
||||
int i = 0;
|
||||
static const char *units[8] = {
|
||||
_("B"), _("K"), _("M"), _("G"),
|
||||
_("T"), _("P"), _("E"), _("Z"),
|
||||
_("B"), _("KiB"), _("MiB"), _("GiB"),
|
||||
_("TiB"), _("PiB"), _("EiB"), _("ZiB"),
|
||||
};
|
||||
|
||||
value = bytes;
|
||||
|
|
Loading…
Reference in New Issue