From 43a87590f45aa6e55724d30d0c2d0d34b407a57e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 17 Jan 2021 18:54:26 +0000 Subject: First cut modernizing and sanitizing --- debugTimer.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 debugTimer.h (limited to 'debugTimer.h') diff --git a/debugTimer.h b/debugTimer.h deleted file mode 100644 index fb95eec..0000000 --- a/debugTimer.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef DEBUGTIMER_H_INCLUDED -#define DEBUGTIMER_H_INCLUDED - -#include -#include - -class DebugTimer { -public: - void - Start() - { - startTime = SDL_GetTicks(); - } - - void - End(const std::string & message) - { - unsigned int endTime = SDL_GetTicks(); - std::cout << message << (endTime - startTime) << "ms" << std::endl; - } - -protected: -private: - unsigned int startTime; -}; - -#endif // DEBUGTIMER_H_INCLUDED -- cgit v1.2.3