[Hdrflow-svn] SF.net SVN: hdrflow: [90] lib/openlibraries/src/openpluginlib/pl/timer.hpp
Status: Pre-Alpha
Brought to you by:
glslang
|
From: <gl...@us...> - 2007-04-21 16:40:24
|
Revision: 90
http://hdrflow.svn.sourceforge.net/hdrflow/?rev=90&view=rev
Author: glslang
Date: 2007-04-21 09:40:23 -0700 (Sat, 21 Apr 2007)
Log Message:
-----------
+ guard against the use of rdtsc timer in a ppc environment. tm_bench and client code will also need to make the same assumption. currently the unit test will not compile on ppc
Modified Paths:
--------------
lib/openlibraries/src/openpluginlib/pl/timer.hpp
Modified: lib/openlibraries/src/openpluginlib/pl/timer.hpp
===================================================================
--- lib/openlibraries/src/openpluginlib/pl/timer.hpp 2007-04-21 16:39:04 UTC (rev 89)
+++ lib/openlibraries/src/openpluginlib/pl/timer.hpp 2007-04-21 16:40:23 UTC (rev 90)
@@ -330,7 +330,7 @@
#ifdef WIN32
typedef timer<rdtsc<time_value, event_sleep> > rdtsc_default_timer;
#else
-# if GCC_VERSION >= 40000 && !defined __APPLE__
+# if GCC_VERSION >= 40000 && !defined __ppc
typedef timer<rdtsc<time_value, nanosleep_> > rdtsc_default_timer;
# endif
typedef timer<gettimeofday_<time_value, nanosleep_> > gettimeofday_default_timer;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|