sapling/eden/fs/testharness
Adam Simpkins 4917682fc6 add a tag parameter to ThreadLocal<EdenStats>
Summary:
Update all of the code using ThreadLocal<EdenStats> to pass in a non-default
Tag parameter to the ThreadLocal template.

A non-default tag parameter is required to use the accessAllThreads() method on
the ThreadLocal object.  We need to use accessAllThreads() to perform stats
aggregation correctly.  Currently the EdenServer code is only performing
aggregation for stats in the FunctionScheduler.

This diff only updates the ThreadLocal<EdenStats> type, but does not contain
any behavior changes.  I will fix the stats aggregation in a subsequent diff.

Reviewed By: bolinfest

Differential Revision: D5657268

fbshipit-source-id: bc4b6f56324eb8d3052c023fd3f6f64f99b1d4e0
2017-08-18 11:50:56 -07:00
..
test format eden/fs TARGETS files with autodeps 2017-06-27 21:20:15 -07:00
FakeBackingStore.cpp additional refactoring of unit test initialization code 2017-03-02 14:24:10 -08:00
FakeBackingStore.h apply clang-tidy modernize-use-override 2017-05-23 16:10:26 -07:00
FakeObjectStore.cpp drop Future from the name of ObjectStore APIs 2017-06-21 17:20:50 -07:00
FakeObjectStore.h drop Future from the name of ObjectStore APIs 2017-06-21 17:20:50 -07:00
FakeTreeBuilder.cpp add an EdenMount::diff() method 2017-03-21 12:06:44 -07:00
FakeTreeBuilder.h move eden/utils and eden/fuse into eden/fs 2017-04-14 11:39:02 -07:00
HgRepo.cpp fix some bugs in the treemanifest import code 2017-07-05 11:21:30 -07:00
HgRepo.h fix some bugs in the treemanifest import code 2017-07-05 11:21:30 -07:00
StoredObject.h update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
TARGETS add a tag parameter to ThreadLocal<EdenStats> 2017-08-18 11:50:56 -07:00
TestChecks.h Moving FileData methods to FileInode 2017-07-26 23:39:35 -07:00
TestMount.cpp Adding lastCheckoutTime to EdenMount and initializing timestamps of FileInode with lastCheckoutTime 2017-07-27 11:52:31 -07:00
TestMount.h add a tag parameter to ThreadLocal<EdenStats> 2017-08-18 11:50:56 -07:00
TestUtil.cpp update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
TestUtil.h update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00