]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Profiler.hh
extreme refactoring
[chaz/yoink] / src / Moof / Profiler.hh
similarity index 91%
rename from src/profiler.hh
rename to src/Moof/Profiler.hh
index 7b38e52ea880fbeb2f241d459733b632d23283df..40199df3e27706404b9177bc31c122c5ed30d45c 100644 (file)
 
 *******************************************************************************/
 
-#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();
        }
@@ -74,10 +74,10 @@ private:
        std::clock_t begin;
 };
 
-} // namespace dc
+} // namespace Mf
 
 
-#endif // _PROFILER_HH_
+#endif // _MOOF_PROFILER_HH_
 
 /** vim: set ts=4 sw=4 tw=80: *************************************************/
 
This page took 0.017856 seconds and 4 git commands to generate.