summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-08-03 18:48:48 (GMT)
committerBrad King <brad.king@kitware.com>2011-08-03 18:50:04 (GMT)
commit74e1156bc292f45dd376d6324fbf13aa2de539b7 (patch)
treed68a664bba6d649b8c4ae0892b6da3dcb2b84300 /Source/kwsys/SystemTools.hxx.in
parent14e54c4c449e2704799ab5283c6c6764472d5a0a (diff)
downloadCMake-74e1156bc292f45dd376d6324fbf13aa2de539b7.zip
CMake-74e1156bc292f45dd376d6324fbf13aa2de539b7.tar.gz
CMake-74e1156bc292f45dd376d6324fbf13aa2de539b7.tar.bz2
KWSys: Simplify SystemTools::GetTime implementation (#12261)
We already use GetSystemTimeAsFileTime() and gettimeofday() unconditionally on supported Windows and non-Windows platforms, respectively. Remove outdated portability complexity.
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index cf47923..fd2ed19 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -690,13 +690,7 @@ public:
* -----------------------------------------------------------------
*/
- /**
- * Get current time as a double. On certain platforms this will
- * return higher resolution than seconds:
- * (1) gettimeofday() -- resolution in microseconds
- * (2) ftime() -- resolution in milliseconds
- * (3) time() -- resolution in seconds
- */
+ /** Get current time in seconds since Posix Epoch (Jan 1, 1970). */
static double GetTime();
/**