Revision a93a1019 core/src/aos_system.c

View differences:

core/src/aos_system.c
673 673
  sum += ch.kernel_stats.m_crit_thd.cumulative;
674 674
  sum += ch.kernel_stats.m_crit_isr.cumulative;
675 675

  
676
  // retreive, calculate and print performance measures
676
  // retrieve, calculate and print performance measures
677 677
  chprintf(stream, "threads & critical zones:\n");
678 678
  thd = chRegFirstThread();
679 679
  do {
......
689 689
           "ISR critical zones",
690 690
           (double)((float)ch.kernel_stats.m_crit_isr.cumulative / (float)sum * 100.f));
691 691

  
692
  // retreive further real-time statistics
692
  // retrieve further real-time statistics
693 693
  chprintf(stream, "\nworst critical zones:\n");
694 694
  chprintf(stream, "\tthreads: %uus (%u clock cycles)\n",
695 695
           RTC2US(SystemCoreClock, ch.kernel_stats.m_crit_thd.worst),
......
772 772
}
773 773

  
774 774
/**
775
 * @brief   Retreive the number of active threads.
775
 * @brief   Retrieve the number of active threads.
776 776
 *
777 777
 * @return  Number of active threads.
778 778
 */

Also available in: Unified diff