Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IHM04A1 arm_linear_can_2
SystemReport Class Reference
System Reporting library. More...
#include <stats_report.h>
Public Member Functions | |
| SystemReport (uint32_t sample_rate) | |
| SystemReport - Sample rate in ms is required to handle the CPU percent awake logic. | |
| void | report_state (void) |
| Report on each Mbed OS Platform stats API. | |
| void | report_cpu_stats (void) |
| Report CPU idle and awake time in terms of percentage. | |
| void | report_heap_stats (void) |
| Report current heap stats. | |
| void | report_thread_stats (void) |
| Report active thread stats. | |
Detailed Description
System Reporting library.
Provides runtime information on device:
- CPU sleep, idle, and wake times
- Heap and stack usage
- Thread information
- Static system information
Definition at line 18 of file stats_report.h.
Constructor & Destructor Documentation
| SystemReport | ( | uint32_t | sample_rate ) |
SystemReport - Sample rate in ms is required to handle the CPU percent awake logic.
Definition at line 32 of file stats_report.h.
Member Function Documentation
| void report_cpu_stats | ( | void | ) |
Report CPU idle and awake time in terms of percentage.
Definition at line 67 of file stats_report.h.
| void report_heap_stats | ( | void | ) |
Report current heap stats.
Current heap refers to the current amount of allocated heap. Max heap refers to the highest amount of heap allocated since reset.
Definition at line 89 of file stats_report.h.
| void report_state | ( | void | ) |
Report on each Mbed OS Platform stats API.
Definition at line 54 of file stats_report.h.
| void report_thread_stats | ( | void | ) |
Report active thread stats.
Definition at line 103 of file stats_report.h.
Generated on Fri Jul 15 2022 06:24:38 by
1.7.2