diff options
Diffstat (limited to 'apps/plugins/test_mem.c')
-rw-r--r-- | apps/plugins/test_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_mem.c b/apps/plugins/test_mem.c index bd9c86a0a5..b38a454c33 100644 --- a/apps/plugins/test_mem.c +++ b/apps/plugins/test_mem.c | |||
@@ -51,11 +51,11 @@ enum plugin_status plugin_start(const void* parameter) | |||
51 | for (j = 0; j < BUF_SIZE; j++) | 51 | for (j = 0; j < BUF_SIZE; j++) |
52 | buf[j] = j; | 52 | buf[j] = j; |
53 | } | 53 | } |
54 | delta = *rb->current_tick - last_tick; | ||
54 | rb->screens[0]->clear_display(); | 55 | rb->screens[0]->clear_display(); |
55 | rb->screens[0]->putsf(0, line++, "%s", boost?"boosted":"unboosted"); | 56 | rb->screens[0]->putsf(0, line++, "%s", boost?"boosted":"unboosted"); |
56 | rb->screens[0]->putsf(0, line++, "bufsize: %u", BUF_SIZE*sizeof(buf[0])); | 57 | rb->screens[0]->putsf(0, line++, "bufsize: %u", BUF_SIZE*sizeof(buf[0])); |
57 | rb->screens[0]->putsf(0, line++, "loop#: %d", ++count); | 58 | rb->screens[0]->putsf(0, line++, "loop#: %d", ++count); |
58 | delta = *rb->current_tick - last_tick; | ||
59 | rb->screens[0]->putsf(0, line++, "write ticks: %d (%d kB/s)", delta, | 59 | rb->screens[0]->putsf(0, line++, "write ticks: %d (%d kB/s)", delta, |
60 | KB_PER_SEC(delta)); | 60 | KB_PER_SEC(delta)); |
61 | last_tick = *rb->current_tick; | 61 | last_tick = *rb->current_tick; |