Fixed bug in computing object count mean and stddev.

git-svn-id: svn://10.0.0.236/trunk@50201 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1999-10-08 04:39:24 +00:00
parent 579c8e2248
commit 15a67038a4
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ public:
mRefsOutstandingVariance += cnt * cnt;
}
void AccountObjs() {
PRInt32 cnt = (mAddRefs - mReleases);
PRInt32 cnt = (mCreates - mDestroys);
// NS_ASSERTION(cnt >= 0, "too many releases");
mObjsOutstandingTotal += cnt;
mObjsOutstandingVariance += cnt * cnt;