diff options
Diffstat (limited to 'stat.c')
| -rw-r--r-- | stat.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -98,8 +98,7 @@ int stat_get_bar_ticks(int maxx, unsigned long long total, void stat_draw_cpu_bar(WINDOW *w, int maxx, int y, int x, stat *s) { int ava_to_draw_x = maxx - STAT_INFO_WIDTH - BAR_LABEL_WIDTH; - int total_hashes = ava_to_draw_x * (s->cpu_occ->smooth_cpu * 0.1); - + int total_hashes = ava_to_draw_x * (s->cpu_occ->smooth_cpu * 0.01); char hashes[2048] = {0}; if (total_hashes > ava_to_draw_x) |
