[cmake-developers] [CMake 0012261]: Enable gettimeofday() for any glibc-based platform
Mantis Bug Tracker
mantis at public.kitware.com
Thu Jun 9 13:58:29 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12261
======================================================================
Reported By: Pino Toscano
Assigned To:
======================================================================
Project: CMake
Issue ID: 12261
Category: CMake
Reproducibility: N/A
Severity: trivial
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-06-09 12:58 CDT
Last Modified: 2011-06-09 12:58 CDT
======================================================================
Summary: Enable gettimeofday() for any glibc-based platform
Description:
Currently, SystemTools::GetTime() on UNIX can use gettimeofday() (if available)
to get the time in microseconds resolution, otherwise the classic time() (with
the resolution of seconds) is used.
Given gettimeofday() is POSIX (although marked obsolete in POSIX.1-2008) and
thus implemented by glibc, it can be enabled for any platform using glibc.
Attached there is a git formatted patch with the proposed change.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-06-09 12:58 Pino Toscano New Issue
2011-06-09 12:58 Pino Toscano File Added:
0001-kwsys-enable-gettimeofday-for-any-glibc-based-platfo.patch
======================================================================
More information about the cmake-developers
mailing list