]> git.lizzy.rs Git - irrlicht.git/blob - source/Irrlicht/CProfiler.h
Fix some more problems with OSX build file.
[irrlicht.git] / source / Irrlicht / CProfiler.h
1 // This file is part of the "Irrlicht Engine".\r
2 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
3 // Written by Michael Zeilfelder\r
4 \r
5 #ifndef __C_PROFILER_H_INCLUDED__\r
6 #define __C_PROFILER_H_INCLUDED__\r
7 \r
8 #include "IrrCompileConfig.h"\r
9 #include "IProfiler.h"\r
10 \r
11 namespace irr\r
12 {\r
13 class CProfiler : public IProfiler\r
14 {\r
15 public:\r
16 \r
17         CProfiler();\r
18         virtual ~CProfiler();\r
19 \r
20         //! Write all profile-data into a string\r
21     virtual void printAll(core::stringw &result, bool includeOverview,bool suppressUncalled) const  _IRR_OVERRIDE_;\r
22 \r
23         //! Write the profile data of one group into a string\r
24     virtual void printGroup(core::stringw &result, u32 groupIndex, bool suppressUncalled) const  _IRR_OVERRIDE_;\r
25 \r
26 protected:\r
27         core::stringw makeTitleString() const;\r
28         core::stringw getAsString(const SProfileData& data) const;\r
29 };\r
30 } // namespace irr\r
31 \r
32 #endif // __C_PROFILER_H_INCLUDED__\r