prints out some stats in JSON format to the serial port
Definition at line 504 of file AppManager.cpp.
509 if (node == NULL)
return;
512 sci->print(F(
"STATS {\"APPS\":{\""));
514 sci->print(F(
"\":{"));
531 sci->print(F(
"STATS {\"APPMANAGER\":{"));
537 sci->println(F(
"}}"));
SvcSerialCommandInterface sci
AppBaseClass * next_app_node
uint16_t update_cpu_time_max
uint16_t render_cpu_time_max
char name[MAX_NAME_LENGTH]
uint16_t update_period_max
uint16_t render_period_max
base class definition / implementation from which all app classes will be derived and override
AppBaseClass * getAppByName(const char *appName)
Get the App pointer By Name. Returns NULL if not found.
bool exclusive_app_render
bool requestStartLZ4Message()
request to start a lz4 compressed message starts the message and returns true if available returns f...
void sendLZ4Message()
Calling this function signals the end of a compressed message. The txBuffer contents are lz4 compres...
Serial communication service and interface Serial commands (rx): .
References active_app_id, cycle_time, AppBaseClass::cycle_time_max, cycle_time_max, exclusive_app_render, getAppByName(), AppBaseClass::name, AppBaseClass::next_app_node, AppBaseClass::render_cpu_time_max, AppBaseClass::render_period_max, SvcSerialCommandInterface::requestStartLZ4Message(), root, sci, SvcSerialCommandInterface::sendLZ4Message(), touch_state, AppBaseClass::update_cpu_time_max, and AppBaseClass::update_period_max.
Referenced by SvcSerialCommandInterface::update().