summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ThreadPool.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2018-11-26 00:03:39 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2018-11-26 00:03:39 +0000
commit5167c1389b5b52ab68a40debebbace19d03554bf (patch)
tree74f3764903b4c897033af90dff2bc4335722dc7c /llvm/lib/Support/ThreadPool.cpp
parentde314b39cf4be0544efb5afbb3831187eb3da888 (diff)
downloadbcm5719-llvm-5167c1389b5b52ab68a40debebbace19d03554bf.tar.gz
bcm5719-llvm-5167c1389b5b52ab68a40debebbace19d03554bf.zip
[Support/FileSystem] Add sub-second precision for atime/mtime of sys::fs::file_status on unix platforms
Summary: getLastAccessedTime() and getLastModificationTime() provided times in nanoseconds but with only 1 second resolution, even when the underlying file system could provide more precise times than that. These changes add sub-second precision for unix platforms that support improved precision. Also add some comments to make sure people are aware that the resolution of times can vary across different file systems. Reviewers: labath, zturner, aaron.ballman, kristina Reviewed By: aaron.ballman, kristina Subscribers: lebedev.ri, mgorny, kristina, llvm-commits Differential Revision: https://reviews.llvm.org/D54826 llvm-svn: 347530
Diffstat (limited to 'llvm/lib/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud