diff options
author | Brad King <brad.king@kitware.com> | 2011-08-03 18:48:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-08-03 18:50:04 (GMT) |
commit | 74e1156bc292f45dd376d6324fbf13aa2de539b7 (patch) | |
tree | d68a664bba6d649b8c4ae0892b6da3dcb2b84300 /Source/kwsys/SystemTools.hxx.in | |
parent | 14e54c4c449e2704799ab5283c6c6764472d5a0a (diff) | |
download | CMake-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.in | 8 |
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(); /** |