#pragma once #include "Timer.h" class PerfTimer { public: PerfTimer(const vec& sections); void start(const string& section); void resume(const string& section); vec end(); private: void stopCurrent(); vec sections; vec timings = {}; string currentSection; Timer timer = Timer(); };