If the code hasn't been touched in this long, its probably release-worthy.
This commit is contained in:
12
lib/Figments/Perfcounter.h
Normal file
12
lib/Figments/Perfcounter.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <ArduinoLog.h>
|
||||
|
||||
struct PerfCounter {
|
||||
PerfCounter(const char* name) {}
|
||||
~PerfCounter() {}
|
||||
/*PerfCounter(const char* name) : start(millis()), name(name) {}
|
||||
~PerfCounter() {Log.notice("%s: %d", name, millis() - start);}*/
|
||||
uint16_t start;
|
||||
const char* name;
|
||||
};
|
||||
Reference in New Issue
Block a user