sapling/eden/fs/testharness
Xavier Deguillard 28cf1cda9f inodes: make lastCheckoutTime an EdenTimestamp
Summary:
The lastCheckoutTime is mostly used to initialize the timestamps of newly
loaded inodes and since these store an EdenTimestamp, we incur a conversion for
every inode loads. Instead of doing this conversion, we can simply make it an
EdenTimestamp directly.

Similarly, the getNow function was always converted to an EdenTimestamp
(sometimes more than once), we can also make it return the EdenTimestamp
directly.

Reviewed By: chadaustin

Differential Revision: D27860652

fbshipit-source-id: 9ea8fe9a312e6c3d8667b93130bb32a46ab92961
2021-04-19 14:38:14 -07:00
..
test model: remove test-only constructor for TreeEntry 2021-01-05 14:08:14 -08:00
CMakeLists.txt use the normal PrivHelper.h header file on Windows 2020-05-01 14:01:40 -07:00
FakeBackingStore.cpp Apply clang-format update fixes 2021-01-10 10:06:29 -08:00
FakeBackingStore.h enable skipping Metadata prefetches during eden prefetches 2020-11-11 16:30:02 -08:00
FakeClock.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeFuse.cpp utils: compile the tests with @mode/win 2020-10-22 12:52:13 -07:00
FakeFuse.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FakeObjectStore.cpp use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
FakeObjectStore.h use ObjectFetchContext for priority 2020-07-02 12:00:45 -07:00
FakePrivHelper.cpp privhelper: allow mounting via NFS on macOS 2021-04-06 14:17:00 -07:00
FakePrivHelper.h privhelper: allow mounting via NFS on macOS 2021-04-06 14:17:00 -07:00
FakeTreeBuilder.cpp model: remove test-only constructor for TreeEntry 2021-01-05 14:08:14 -08:00
FakeTreeBuilder.h Tidy up license headers 2019-10-11 05:28:23 -07:00
HgRepo.cpp dynamicconfig: backout D26801059 that enabled no-repo configs 2021-04-15 09:00:19 -07:00
HgRepo.h skip edenfs tests when tsan is enabled 2020-12-01 10:18:53 -08:00
InodeUnloader.h enable the checkout tests on Windows 2020-04-26 21:14:24 -07:00
LoggingFetchContext.h add cause info to objectFetchContext 2020-06-23 10:02:40 -07:00
StoredObject.h fix lock ordering issues in eden tests 2019-10-22 10:39:13 -07:00
TempFile.cpp enable the fs/utils tests in the Windows build 2020-04-29 11:04:21 -07:00
TempFile.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestChecks.h refactor - move ObjectFetchContext to its own file 2020-06-23 10:02:40 -07:00
TestDispatcher.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
TestDispatcher.h inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
TestMain.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestMount.cpp inodes: make lastCheckoutTime an EdenTimestamp 2021-04-19 14:38:14 -07:00
TestMount.h inodes: move dispatchers around 2021-02-10 11:52:06 -08:00
TestServer.cpp introduce metadata importer 2020-07-10 16:03:32 -07:00
TestServer.h Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
TestUtil.h Tidy up license headers 2019-10-11 05:28:23 -07:00