Add profile points; switch to microseconds

This commit is contained in:
Chris Cannam
2022-07-14 10:02:39 +01:00
parent 7179c2626c
commit dc74c993cf
7 changed files with 85 additions and 43 deletions

View File

@@ -25,6 +25,7 @@
#define RUBBERBAND_GUIDE_H
#include "../common/Log.h"
#include "../common/Profiler.h"
#include <functional>
#include <sstream>
@@ -159,6 +160,8 @@ public:
bool tighterChannelLock,
Guidance &guidance) const {
Profiler profiler("Guide::updateGuidance");
bool hadPhaseReset = guidance.phaseReset.present;
guidance.phaseReset.present = false;