Reformat.
[ardour.git] / libs / ardour / ardour / cycle_timer.h
index b9cbbbf0a8ded5550947f0a33c45228309cf6b0a..146b393a6367399e23a124c1c1c02e698e68b2b9 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2002 Paul Davis 
+    Copyright (C) 2002 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_cycle_timer_h__
@@ -24,7 +23,7 @@
 #include <string>
 #include <iostream>
 
-#include <ardour/cycles.h>
+#include "ardour/cycles.h"
 
 class CycleTimer {
   private:
@@ -32,7 +31,7 @@ class CycleTimer {
        cycles_t _entry;
        cycles_t _exit;
        std::string _name;
-       
+
   public:
        CycleTimer(std::string name) : _name (name){
                if (cycles_per_usec == 0) {
@@ -42,7 +41,7 @@ class CycleTimer {
        }
        ~CycleTimer() {
                _exit = get_cycles();
-               std::cerr << _name << ": " << (float) (_exit - _entry) / cycles_per_usec << " (" <<  _entry << ", " << _exit << ')' << endl;
+               std::cerr << _name << ": " << (float) (_exit - _entry) / cycles_per_usec << " (" <<  _entry << ", " << _exit << ')' << std::endl;
        }
 
        static float get_mhz ();