Better metrics.
This commit is contained in:
1 parent
65dd09ca0d
commit
8e2d2225cb
4 files changed
+31
-8
No files matched your search
+5
-1
@@ -8,8 +8,12 @@ struct EffectEntry {
|
||||
const char* name;
|
||||
bool use_in_cycle;
|
||||
std::function<Effect*()> create;
|
||||
#ifdef MQTT_REPORT_METRICS
|
||||
int16_t heap_change_sum;
|
||||
uint16_t run_count;
|
||||
#endif
|
||||
};
|
||||
extern const EffectEntry effects[];
|
||||
extern EffectEntry effects[];
|
||||
extern const uint8_t effects_size;
|
||||
|
||||
extern Effect* current_effect;
|
||||
|
||||
Reference in new issue
Block a user