mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
11195c2b0b
Summary: I'm confused by the naming of EdenThreadStats and ThreadLocalEdenStats. For example, when I see "ThreadLocalEdenStats", I think that such objects can only be accessed by one thread. That's definitely not what "ThreadLocalEdenStats" means! I think the following naming scheme makes more sense: * **EdenThreadStats**: Statistics which are updated by one thread. Currently called EdenThreadStats. * **EdenStats**: Statistics for all threads. Provides access to EdenThreadStats. Currently called ThreadLocalEdenStats. Implement my preferred scheme: rename ThreadLocalEdenStats to EdenStats. This diff should not change behavior. Note: Prior to D14822274, EdenThreadStats was called EdenStats. Reviewed By: simpkins Differential Revision: D14822271 fbshipit-source-id: bd20179b1010588e3fc16dc9ed0657d458606f16 |
||
---|---|---|
.. | ||
test | ||
CMakeLists.txt | ||
hg_import_helper.py | ||
HgBackingStore.cpp | ||
HgBackingStore.h | ||
HgImporter.cpp | ||
HgImporter.h | ||
HgImportPyError.cpp | ||
HgImportPyError.h | ||
HgManifestImporter.cpp | ||
HgManifestImporter.h | ||
HgProxyHash.cpp | ||
HgProxyHash.h | ||
proxy_import_helper.py | ||
tester.cpp |