From 6e73ca6ada8a41692809dae5db89c8db0675ce1e Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 17 Oct 2021 16:01:30 +0800 Subject: -Runner --- Runner/Profiler/FrameStats.h | 29 ----------------------------- Runner/Profiler/Profiler.h | 0 2 files changed, 29 deletions(-) delete mode 100644 Runner/Profiler/FrameStats.h delete mode 100644 Runner/Profiler/Profiler.h (limited to 'Runner/Profiler') diff --git a/Runner/Profiler/FrameStats.h b/Runner/Profiler/FrameStats.h deleted file mode 100644 index b3073d5..0000000 --- a/Runner/Profiler/FrameStats.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef FRAME_STATS_H -#define FRAME_STATS_H - -#include "../Utilities/Singleton.h" -#include "../Utilities/UtilMacros.h" -#include "../Utilities/Type.h" - -class FrameStats : public Singleton -{ -public: - void OnBeginFrame(); - void OnEndFrame(); - - void AddDrawCall(uint n = 1); - void AddTrianglesCount(uint n = 1); - - GET(uint, DrawCall, m_DrawCall); - GET(uint, TrianglesCount, m_TrianglesCount); - -private: - - uint m_DrawCall; - uint m_TrianglesCount; - -}; - -#define g_FrameStats (*FrameStats::Instance()) - -#endif \ No newline at end of file diff --git a/Runner/Profiler/Profiler.h b/Runner/Profiler/Profiler.h deleted file mode 100644 index e69de29..0000000 -- cgit v1.1-26-g67d0