summaryrefslogtreecommitdiffstats
path: root/libcxx/src/chrono.cpp
Commit message (Collapse)AuthorAgeFilesLines
* When building libc++, we use '"' as a delimiter instead of '<' when ↵Marshall Clow2015-06-231-3/+3
| | | | | | including libc++ header files. This is so that the dylib gets built with our headers; rather than the system-installed ones. We do this in most places already, just fixing a couple of inconsistent uses. llvm-svn: 240412
* Use clock_gettime()'s CLOCK_REALTIME instead of gettimeofday().Ed Schouten2015-05-141-24/+40
| | | | | | | | | | | | | | | | | | | | | The system_clock::now() function currently uses gettimeofday(). The problem with gettimeofday() is that it is an obsolete XSI function, hence unavailable on CloudABI. See: http://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html Change this code to use clock_gettime() with CLOCK_REALTIME instead, which is more consistent, as clock_gettime() is already used for steady_clock. A previous version of this change actually attempted to change system_clock::duration, but I reverted this part as it breaks the existing ABI. Differential Revision: http://reviews.llvm.org/D8253 Approved by: jroelofs llvm-svn: 237390
* Fix comment that was obsoleted by r216949Jonathan Roelofs2014-09-021-4/+2
| | | | llvm-svn: 216999
* Partially address a FIXME in steady_clock::now()Jonathan Roelofs2014-09-021-0/+3
| | | | | | http://reviews.llvm.org/D4045 llvm-svn: 216949
* Removed raw references to __APPLE__; now just check to see if it is defined.Marshall Clow2013-03-181-2/+2
| | | | llvm-svn: 177297
* Zhang Xiongpang: Add definitions for const data members. Fixes ↵Howard Hinnant2012-12-121-0/+4
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14585. llvm-svn: 170026
* Quash a whole bunch of warningsHoward Hinnant2011-12-011-1/+1
| | | | llvm-svn: 145624
* noexcept for <chrono>.Howard Hinnant2011-05-281-5/+5
| | | | llvm-svn: 132265
* N3191: C++ Timeout SpecificationHoward Hinnant2010-11-201-18/+18
| | | | llvm-svn: 119909
* license changeHoward Hinnant2010-11-161-2/+2
| | | | llvm-svn: 119395
* Fix typos, noticed by Clang.Daniel Dunbar2010-09-041-1/+1
| | | | llvm-svn: 113061
* Fixing whitespace problemsHoward Hinnant2010-08-221-3/+3
| | | | llvm-svn: 111751
* patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was ↵Howard Hinnant2010-05-241-0/+27
| | | | | | accepted except there were some bug fixes needed in <locale> for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient. llvm-svn: 104516
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-111-1/+1
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-111-0/+101
llvm-svn: 103490
OpenPOWER on IntegriCloud