forked from len0rd/rockbox
Move delta calculation up so that only the loop time counts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25452 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1cf1600b43
commit
c4c45b3f9e
1 changed files with 1 additions and 1 deletions
|
@ -51,11 +51,11 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
for (j = 0; j < BUF_SIZE; j++)
|
||||
buf[j] = j;
|
||||
}
|
||||
delta = *rb->current_tick - last_tick;
|
||||
rb->screens[0]->clear_display();
|
||||
rb->screens[0]->putsf(0, line++, "%s", boost?"boosted":"unboosted");
|
||||
rb->screens[0]->putsf(0, line++, "bufsize: %u", BUF_SIZE*sizeof(buf[0]));
|
||||
rb->screens[0]->putsf(0, line++, "loop#: %d", ++count);
|
||||
delta = *rb->current_tick - last_tick;
|
||||
rb->screens[0]->putsf(0, line++, "write ticks: %d (%d kB/s)", delta,
|
||||
KB_PER_SEC(delta));
|
||||
last_tick = *rb->current_tick;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue