[PATCH] D54826: [Support/FileSystem] Add sub-second precision for atime/mtime of sys::fs::file_status on unix platforms

Argyrios Kyrtzidis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 25 12:04:25 PST 2018


akyrtzi added a comment.

On second look, if you are concerned with adding additional fields in `basic_file_status`, I can replace:

  time_t fs_st_atime = 0;
  time_t fs_st_mtime = 0;

with `uint64_t`'s which are adequate to include nanosecond precision, while these `time_t`'s are 64bits as well but waste space in the structure.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54826/new/

https://reviews.llvm.org/D54826





More information about the llvm-commits mailing list