projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
benchmark: print a carriage return "\r" after new line "\n" in context_switch.
[bertos.git]
/
bertos
/
benchmark
/
context_switch.c
diff --git
a/bertos/benchmark/context_switch.c
b/bertos/benchmark/context_switch.c
index a1a1d0204b91cfc129c82e6f78fc22d17e6dd422..ce051626bc6b770fc399097de9fea74f661cad62 100644
(file)
--- a/
bertos/benchmark/context_switch.c
+++ b/
bertos/benchmark/context_switch.c
@@
-123,7
+123,7
@@
void NORETURN context_switch(void)
while (1)
{
#if CONFIG_USE_HP_TIMER
- kfile_printf(&out.fd, "Switch: %lu.%lu usec\n",
+ kfile_printf(&out.fd, "Switch: %lu.%lu usec\n
\r
",
hptime_to_us((end - start)),
hptime_to_us((end - start) * 1000) % 1000);
#endif