2018 revision to classic DataBus AVC code.
Dependencies: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Diff: stats_report.h
- Revision:
- 28:eab1b0680bb2
- Parent:
- 24:a7f92dfc5310
diff -r bfe141fad082 -r eab1b0680bb2 stats_report.h --- a/stats_report.h Fri Dec 21 21:26:59 2018 +0000 +++ b/stats_report.h Sat Dec 22 06:56:55 2018 +0000 @@ -105,15 +105,15 @@ int count = mbed_stats_thread_get_each(thread_stats, max_thread_count); puts(""); - puts("ID state prio stack free name"); - puts("======== ===== ==== ====== ====== =============="); + puts("ID state prio stack free name"); + puts("====== ===== ==== ===== ==== =============="); for (int i = 0; i < count; i++) { - printf(" 0x%04x ", thread_stats[i].id & 0xFFFF); - printf(" %4d ", thread_stats[i].state); - printf(" %4d ", thread_stats[i].priority); - printf(" %5d ", thread_stats[i].stack_size); - printf(" %5d ", thread_stats[i].stack_space); - printf(" %s ", thread_stats[i].name); + printf("0x%04x ", thread_stats[i].id & 0xFFFF); + printf("%5d ", thread_stats[i].state); + printf("%4d ", thread_stats[i].priority); + printf("%5d ", thread_stats[i].stack_size); + printf("%4d ", thread_stats[i].stack_space); + printf("%s ", thread_stats[i].name); puts(""); } }