force IFS=/ when calling path_expand, so that whitespace in paths doesn't cause worde...
[ardour.git] / libs / ardour / cycle_timer.cc
index c48b7fb861e07fbd0d42e36913b3a3819ce62d29..7a6b1fcab263225fc011aa6335ad94be1c5e9bff 100644 (file)
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #include <cstdio>
-#include <pbd/error.h>
-#include <ardour/cycle_timer.h>
+#include "pbd/error.h"
+#include "ardour/cycle_timer.h"
 
 #include "i18n.h"
 
+using namespace PBD;
+
 float CycleTimer::cycles_per_usec = 0;
 
 float
 CycleTimer::get_mhz()
 {
        FILE *f;
-       
+
        if ((f = fopen("/proc/cpuinfo", "r")) == 0) {
                fatal << _("CycleTimer::get_mhz(): can't open /proc/cpuinfo") << endmsg;
                /*NOTREACHED*/
@@ -67,7 +68,7 @@ CycleTimer::get_mhz()
                }
        }
 
-       fatal << _("cannot locate cpu MHz in /proc/cpuinfo") << endmsg; 
+       fatal << _("cannot locate cpu MHz in /proc/cpuinfo") << endmsg;
        /*NOTREACHED*/
        return 0.0f;
 }