#include <src/sensors/ProcessorStats.h>
ProcessorStats_FreeRam
class
The Variable sub-class used for the free RAM measured by the MCU.
- Reference
- Detailed Descriptions
This is the amount of free space on the processor when running the program. This is just a diagnostic value. This number should always remain the same for a single logger program. If this number is not constant over time, there is a memory leak and something wrong with your logging program.
Base classes
- class Variable
- The variable class for a value and related metadata.
Constructors, destructors, conversion operators
- ProcessorStats_FreeRam(ProcessorStats* parentSense, const char* uuid = "", const char* varCode = "FreeRam") explicit
- Construct a new ProcessorStats_
FreeRam object. - ProcessorStats_FreeRam()
- Construct a new ProcessorStats_
FreeRam object. - ~ProcessorStats_FreeRam()
- Destroy the ProcessorStats_
FreeRam object - no action needed.
Function documentation
ProcessorStats_ FreeRam:: ProcessorStats_FreeRam(ProcessorStats* parentSense,
const char* uuid = "",
const char* varCode = "FreeRam") explicit
Construct a new ProcessorStats_
Parameters | |
---|---|
parentSense | The parent ProcessorStats providing the result values. |
uuid | A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string. |
varCode | A short code to help identify the variable in files; optional with a default value of "FreeRam". |