MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012261 | CMake | CMake | public | 2011-06-09 13:58 | 2012-02-06 06:07 |
|
Reporter | Pino Toscano | |
Assigned To | Brad King | |
Priority | normal | Severity | trivial | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake-2-8 | |
Target Version | CMake 2.8.6 | Fixed in Version | CMake 2.8.6 | |
|
Summary | 0012261: 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. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 0001-kwsys-enable-gettimeofday-for-any-glibc-based-platfo.patch (982) 2011-06-09 13:58 https://public.kitware.com/Bug/file/3925/0001-kwsys-enable-gettimeofday-for-any-glibc-based-platfo.patch
a6668106+0001-KWSys-Simplify-SystemTools-GetTime-implementation-12.patch (4,077) 2011-06-16 10:44 https://public.kitware.com/Bug/file/3942/a6668106%2B0001-KWSys-Simplify-SystemTools-GetTime-implementation-12.patch |
|
Issue History |
Date Modified | Username | Field | Change |
2011-06-09 13:58 | Pino Toscano | New Issue | |
2011-06-09 13:58 | Pino Toscano | File Added: 0001-kwsys-enable-gettimeofday-for-any-glibc-based-platfo.patch | |
2011-06-13 14:46 | David Cole | Assigned To | => David Cole |
2011-06-13 14:46 | David Cole | Status | new => assigned |
2011-06-16 10:44 | Brad King | File Added: a6668106+0001-KWSys-Simplify-SystemTools-GetTime-implementation-12.patch | |
2011-06-16 10:45 | Brad King | Note Added: 0026880 | |
2011-08-03 14:51 | Brad King | Note Added: 0027163 | |
2011-08-03 14:51 | Brad King | Status | assigned => resolved |
2011-08-03 14:51 | Brad King | Resolution | open => fixed |
2011-08-03 14:51 | Brad King | Assigned To | David Cole => Brad King |
2011-09-12 17:10 | David Cole | Fixed in Version | => CMake 2.8.6 |
2011-09-12 17:10 | David Cole | Target Version | => CMake 2.8.6 |
2012-02-06 06:07 | David Cole | Note Added: 0028500 | |
2012-02-06 06:07 | David Cole | Status | resolved => closed |