diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-11-11 19:24:27 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-11-11 19:24:27 +0000 |
commit | d44b716362edc74aff3d2a0df222fbb9e40f47c1 (patch) | |
tree | aad1b3c8eacc3b298e688be0977841f885636bf9 | |
parent | aa44ebf81bf37f15636ef4dc537d12e01557e202 (diff) |
Add methods to get the number of refcounts adjusted by the last
housekeeping, for testing.
-rw-r--r-- | bin/bbstored/HousekeepStoreAccount.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bbstored/HousekeepStoreAccount.h b/bin/bbstored/HousekeepStoreAccount.h index 1dd6d79c..5e3d8ffd 100644 --- a/bin/bbstored/HousekeepStoreAccount.h +++ b/bin/bbstored/HousekeepStoreAccount.h @@ -40,7 +40,7 @@ public: ~HousekeepStoreAccount(); void DoHousekeeping(bool KeepTryingForever = false); - + int GetRefCountsAdjusted() { return mRefCountsAdjusted; } private: // utility functions @@ -102,6 +102,7 @@ private: // New reference count list std::vector<uint32_t> mNewRefCounts; bool mSuppressRefCountChangeWarnings; + int mRefCountsAdjusted; // Poll frequency int mCountUntilNextInterprocessMsgCheck; |