|
Open Model Railroad Network (OpenMRN)
|
Driver to collect CPU load information (in freertos) using a Tiva hardware timer. More...
#include <TivaCpuLoad.hxx>
Public Member Functions | |
| TivaCpuLoad () | |
| Constructor. | |
| void | interrupt_handler (unsigned p) |
| Call this function from extern "C" void timer4a_interrupt_handler(). | |
Static Public Member Functions | |
| static void | setup () |
| Creates the timer configuration for the tick interrupt. | |
Public Attributes | |
| CpuLoad | load_ |
| The singleton implementation we delegate collecting the CPULoad information. | |
Driver to collect CPU load information (in freertos) using a Tiva hardware timer.
At any point in time there can be only one instance of this class.
Definition at line 61 of file TivaCpuLoad.hxx.
|
inline |
Constructor.
Definition at line 64 of file TivaCpuLoad.hxx.
|
inline |
Call this function from extern "C" void timer4a_interrupt_handler().
Definition at line 88 of file TivaCpuLoad.hxx.
|
inlinestatic |
Creates the timer configuration for the tick interrupt.
Definition at line 69 of file TivaCpuLoad.hxx.
| CpuLoad TivaCpuLoad< HW >::load_ |
The singleton implementation we delegate collecting the CPULoad information.
Definition at line 96 of file TivaCpuLoad.hxx.