Revision 62397067

View differences:

core/src/aos_system.c
518 518

  
519 519
  // print shell info
520 520
  chprintf(stream, "System shell information:\n");
521
  chprintf(stream, "\tnumber of commands:      %u\n", aosShellCountCommands(&aos.shell));
522
  chprintf(stream, "\tmaximum line width:      %u characters\n", aos.shell.linesize);
523
  chprintf(stream, "\tmaximum #arguments:      %u\n", aos.shell.arglistsize);
521
  chprintf(stream, "\tcommands available:     %u\n", aosShellCountCommands(&aos.shell));
522
  chprintf(stream, "\tline width:             %u characters\n", aos.shell.linesize);
523
  chprintf(stream, "\tmaximum arguments:      %u\n", aos.shell.arglistsize);
524 524
#if (AMIROOS_CFG_DBG == true)
525
  chprintf(stream, "\tshell thread stack size: %u bytes\n", aosThdGetStacksize(aos.shell.thread));
525
  chprintf(stream, "\tthread stack size:      %u bytes\n", aosThdGetStacksize(aos.shell.thread));
526 526
#if (CH_DBG_FILL_THREADS == TRUE)
527
  chprintf(stream, "\tstack peak utilization:  %u bytes (%.2f%%)\n", aosThdGetStackPeakUtilization(aos.shell.thread), (float)aosThdGetStackPeakUtilization(aos.shell.thread) / (float)aosThdGetStacksize(aos.shell.thread) * 100.0f);
527
  chprintf(stream, "\tstack peak utilization: %u bytes (%.2f%%)\n", aosThdGetStackPeakUtilization(aos.shell.thread), (float)aosThdGetStackPeakUtilization(aos.shell.thread) / (float)aosThdGetStacksize(aos.shell.thread) * 100.0f);
528 528
#endif /* CH_DBG_FILL_THREADS == TRUE */
529 529
#endif /* AMIROOS_CFG_DBG == true */
530 530
  _printSystemInfoSeparator(stream, '=', SYSTEM_INFO_WIDTH);

Also available in: Unified diff