|
Alec Leamas |
279addb |
diff --git a/adobe/timer.hpp b/adobe/timer.hpp
|
|
Alec Leamas |
279addb |
index 8622e66..c0ef46d 100644
|
|
Alec Leamas |
279addb |
--- a/adobe/timer.hpp
|
|
Alec Leamas |
279addb |
+++ b/adobe/timer.hpp
|
|
Alec Leamas |
279addb |
@@ -182,7 +182,7 @@ public:
|
|
Alec Leamas |
279addb |
#if ADOBE_PLATFORM_WIN
|
|
Alec Leamas |
279addb |
(void)::QueryPerformanceCounter(&epoch_m);
|
|
Alec Leamas |
279addb |
#elif defined(BOOST_HAS_THREADS)
|
|
Alec Leamas |
279addb |
- boost::xtime_get(&epoch_m, boost::TIME_UTC);
|
|
Alec Leamas |
279addb |
+ boost::xtime_get(&epoch_m, boost::TIME_UTC_);
|
|
Alec Leamas |
279addb |
#elif defined(BOOST_HAS_GETTIMEOFDAY)
|
|
Alec Leamas |
279addb |
gettimeofday(&epoch_m, static_cast<struct timezone*>(0));
|
|
Alec Leamas |
279addb |
#endif
|
|
Alec Leamas |
279addb |
@@ -206,7 +206,7 @@ public:
|
|
Alec Leamas |
279addb |
(void)::QueryPerformanceCounter(&split_m);
|
|
Alec Leamas |
279addb |
return (split_m.QuadPart - epoch_m.QuadPart) / static_cast<double>(frequency_m.QuadPart) * double(1e3);
|
|
Alec Leamas |
279addb |
#elif defined(BOOST_HAS_THREADS)
|
|
Alec Leamas |
279addb |
- boost::xtime_get(&split_m, boost::TIME_UTC);
|
|
Alec Leamas |
279addb |
+ boost::xtime_get(&split_m, boost::TIME_UTC_);
|
|
Alec Leamas |
279addb |
return ((split_m.sec - epoch_m.sec) * double(1e3) + (split_m.nsec - epoch_m.nsec) / double(1e6));
|
|
Alec Leamas |
279addb |
#elif defined(BOOST_HAS_GETTIMEOFDAY)
|
|
Alec Leamas |
279addb |
gettimeofday(&split_m, static_cast<struct timezone*>(0));
|
|
Alec Leamas |
279addb |
diff --git a/documentation/html/timer_8hpp_source.html b/documentation/html/timer_8hpp_source.html
|
|
Alec Leamas |
279addb |
index d5fc808..79a7f62 100644
|
|
Alec Leamas |
279addb |
--- a/documentation/html/timer_8hpp_source.html
|
|
Alec Leamas |
279addb |
+++ b/documentation/html/timer_8hpp_source.html
|
|
Alec Leamas |
279addb |
@@ -200,7 +200,7 @@
|
|
Alec Leamas |
279addb |
00182 #if ADOBE_PLATFORM_WIN
|
|
Alec Leamas |
279addb |
00183 (void)::QueryPerformanceCounter(&epoch_m);
|
|
Alec Leamas |
279addb |
00184 #elif defined(BOOST_HAS_THREADS)
|
|
Alec Leamas |
279addb |
-00185 boost::xtime_get(&epoch_m, boost::TIME_UTC);
|
|
Alec Leamas |
279addb |
+00185 boost::xtime_get(&epoch_m, boost::TIME_UTC_);
|
|
Alec Leamas |
279addb |
00186 #elif defined(BOOST_HAS_GETTIMEOFDAY)
|
|
Alec Leamas |
279addb |
00187 gettimeofday(&epoch_m, static_cast<struct timezone*>(0));
|
|
Alec Leamas |
279addb |
00188 #endif
|
|
Alec Leamas |
279addb |
@@ -215,7 +215,7 @@
|
|
Alec Leamas |
279addb |
00206 (void)::QueryPerformanceCounter(&split_m);
|
|
Alec Leamas |
279addb |
00207 return (split_m.QuadPart - epoch_m.QuadPart) / static_cast<double>(frequency_m.QuadPart) * double(1e3);
|
|
Alec Leamas |
279addb |
00208 #elif defined(BOOST_HAS_THREADS)
|
|
Alec Leamas |
279addb |
-00209 boost::xtime_get(&split_m, boost::TIME_UTC);
|
|
Alec Leamas |
279addb |
+00209 boost::xtime_get(&split_m, boost::TIME_UTC_);
|
|
Alec Leamas |
279addb |
00210 return ((split_m.sec - epoch_m.sec) * double(1e3) + (split_m.nsec - epoch_m.nsec) / double(1e6));
|
|
Alec Leamas |
279addb |
00211 #elif defined(BOOST_HAS_GETTIMEOFDAY)
|
|
Alec Leamas |
279addb |
00212 gettimeofday(&split_m, static_cast<struct timezone*>(0));
|
|
Alec Leamas |
279addb |
diff --git a/source/zuid_sys_dep.cpp b/source/zuid_sys_dep.cpp
|
|
Alec Leamas |
279addb |
index 8930dd7..bd54770 100644
|
|
Alec Leamas |
279addb |
--- a/source/zuid_sys_dep.cpp
|
|
Alec Leamas |
279addb |
+++ b/source/zuid_sys_dep.cpp
|
|
Alec Leamas |
279addb |
@@ -128,7 +128,7 @@ adobe::md5_t::digest_t get_generic_random_info()
|
|
Alec Leamas |
279addb |
#endif
|
|
Alec Leamas |
279addb |
{
|
|
Alec Leamas |
279addb |
#if defined(BOOST_HAS_THREADS)
|
|
Alec Leamas |
279addb |
- boost::xtime_get(&time_m, boost::TIME_UTC);
|
|
Alec Leamas |
279addb |
+ boost::xtime_get(&time_m, boost::TIME_UTC_);
|
|
Alec Leamas |
279addb |
#endif
|
|
Alec Leamas |
279addb |
#if defined(BOOST_HAS_UNISTD_H)
|
|
Alec Leamas |
279addb |
gethostname(hostname_m, 256);
|