llvm-project/libcxx
Saleem Abdulrasool 6e3a0cc404 chrono: implement a Windows version of system_clock::now
system_clock::now is not entirely straight forward on Windows, which
does not have a clock_gettime function.

GetSystemTimeAsFileTime gives us the value relative to the NT epoch (Jan
1 1601) rather than the Unix epoch (Jan 1 1970).  However, this function
has a low resolution (~10ms).  Newer versions of Windows provide
GetSystemTimePreciseAsFileTime which gives us a much more accurate time
(<1us).  Unfortunately, the latter is only available on Windows 8+ when
targeting desktop apps.

llvm-svn: 290803
2017-01-01 20:20:41 +00:00
..
benchmarks improve performance of string::find 2016-12-30 18:01:36 +00:00
cmake build: dont detect libraries for Windows 2017-01-01 20:20:38 +00:00
docs Remove dead debug_mode doc link 2016-12-28 06:21:09 +00:00
include build: differentiate between building for and on Windows 2017-01-01 20:20:36 +00:00
lib Fix build using the buildit script 2016-12-29 22:42:45 +00:00
src chrono: implement a Windows version of system_clock::now 2017-01-01 20:20:41 +00:00
test Fix some 'FIXME's in the tests. 2016-12-30 17:42:11 +00:00
utils Make LIBCXX_ENABLE_STATIC_ABI_LIBRARY merge libc++.a and libc++abi.a 2016-11-18 19:53:45 +00:00
www Update "Making Optional Greater Equal Again" paper status 2016-12-30 04:16:30 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.clang-format fix misspelling in .clang-format 2016-12-09 03:18:45 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt build: further improve flags handling for cl 2017-01-01 20:20:40 +00:00
CREDITS.TXT Add entry to CREDITS.TXT for propagate_const 2016-06-19 19:36:28 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:39:53 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00