summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2009-11-11 19:24:27 +0000
committerChris Wilson <chris+github@qwirx.com>2009-11-11 19:24:27 +0000
commitd44b716362edc74aff3d2a0df222fbb9e40f47c1 (patch)
treeaad1b3c8eacc3b298e688be0977841f885636bf9 /bin
parentaa44ebf81bf37f15636ef4dc537d12e01557e202 (diff)
Add methods to get the number of refcounts adjusted by the last
housekeeping, for testing.
Diffstat (limited to 'bin')
-rw-r--r--bin/bbstored/HousekeepStoreAccount.h3
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;