Added function to measure code performance

This commit is contained in:
Magnus
2021-04-04 22:47:24 +02:00
parent 938085b96a
commit db842d6b4c
6 changed files with 202 additions and 14 deletions

View File

@ -25,6 +25,7 @@ SOFTWARE.
#include "config.h"
SerialDebug mySerial;
PerfLogging myPerfLogging;
BatteryVoltage myBatteryVoltage;
//
@ -49,6 +50,9 @@ void printBuildOptions() {
#ifdef EMBED_HTML
"EMBED_HTML "
#endif
#ifdef COLLECT_PERFDATA
"PERFDATA "
#endif
#ifdef ACTIVATE_OTA
"OTA "
#endif