![]() |
RTEMS 6.1
|
The CPU usage reporting directives can be used to report and reset the CPU usage of threads. More...
Files | |
| file | cpuuse.h |
| This header file provides the CPU usage reporting API. | |
Functions | |
| int | rtems_cpu_info_report (const struct rtems_printer *printer) |
| Reports the CPU information using the printer plugin. | |
| void | rtems_cpu_usage_report (void) |
| Reports the CPU usage of each thread using the printk() printer. | |
| void | rtems_cpu_usage_report_with_plugin (const struct rtems_printer *printer) |
| Reports the CPU usage of each thread using the printer plugin. | |
| void | rtems_cpu_usage_reset (void) |
| Resets the CPU usage of each thread. | |
| void | rtems_cpu_usage_top (void) |
| Starts an interactive CPU usage reporting using the printk() printer. | |
| void | rtems_cpu_usage_top_with_plugin (const struct rtems_printer *printer) |
| Starts an interactive CPU usage reporting using the printer plugin. | |
The CPU usage reporting directives can be used to report and reset the CPU usage of threads.
| int rtems_cpu_info_report | ( | const struct rtems_printer * | printer | ) |
Reports the CPU information using the printer plugin.
| printer | is the printer plugin to output the report. |
The following constraints apply to this directive:
| void rtems_cpu_usage_report | ( | void | ) |
Reports the CPU usage of each thread using the printk() printer.
The following constraints apply to this directive:
| void rtems_cpu_usage_report_with_plugin | ( | const struct rtems_printer * | printer | ) |
Reports the CPU usage of each thread using the printer plugin.
| printer | is the printer plugin to output the report. |
The following constraints apply to this directive:
| void rtems_cpu_usage_reset | ( | void | ) |
Resets the CPU usage of each thread.
The following constraints apply to this directive:
| void rtems_cpu_usage_top | ( | void | ) |
Starts an interactive CPU usage reporting using the printk() printer.
The following constraints apply to this directive:
| void rtems_cpu_usage_top_with_plugin | ( | const struct rtems_printer * | printer | ) |
Starts an interactive CPU usage reporting using the printer plugin.
| printer | is the printer plugin to output the report. |
The following constraints apply to this directive: