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
5 #ifndef __C_PROFILER_H_INCLUDED__
\r
6 #define __C_PROFILER_H_INCLUDED__
\r
8 #include "IrrCompileConfig.h"
\r
9 #include "IProfiler.h"
\r
13 class CProfiler : public IProfiler
\r
18 virtual ~CProfiler();
\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
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
27 core::stringw makeTitleString() const;
\r
28 core::stringw getAsString(const SProfileData& data) const;
\r
32 #endif // __C_PROFILER_H_INCLUDED__
\r