*******************************************************************************/
-#ifndef _PROFILER_HH_
-#define _PROFILER_HH_
+#ifndef _MOOF_PROFILER_HH_
+#define _MOOF_PROFILER_HH_
/**
- * @file profiler.hh
+ * @file Profiler.hh
* Braindead-simple profiler.
*/
#include <ctime>
-namespace dc {
+namespace Mf {
-class profiler
+class Profiler
{
public:
- profiler(const char* name = "")
+ Profiler(const char* name = "")
{
start(name);
}
- ~profiler()
+ ~Profiler()
{
stop();
}
std::clock_t begin;
};
-} // namespace dc
+} // namespace Mf
-#endif // _PROFILER_HH_
+#endif // _MOOF_PROFILER_HH_
/** vim: set ts=4 sw=4 tw=80: *************************************************/