added more fidelity to function timer

This commit is contained in:
itsmattkc
2021-10-25 15:51:30 -07:00
parent dc79a6a5d9
commit cfdaae871a
+2
View File
@@ -25,6 +25,8 @@
#include <QDebug>
#define TIME_THIS_FUNCTION FunctionTimer __f(__FUNCTION__)
#define START_TIMING {FunctionTimer *__f = new FunctionTimer(__FUNCTION__)
#define STOP_TIMING delete __f;}void()
class FunctionTimer {
public: