Project

General

Profile

Feature #681

MemPool: make it easier to get just stats

Added by John Abbott almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Various
Target version:
Start date:
13 Apr 2015
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

I wanted to get some usage stats from MemPool objects; it was not as easy/helpful as I would have liked.

History

#1 Updated by John Abbott almost 9 years ago

Currently it is possible to get some stats reports from MemPool objects by doing all of the following:
  • MemPoolDebug::ourInitialVerbosityLevel = 2; or perhaps level 1 is enough
  • MemPoolDebug::ourDefaultMarginSize = 0; to disable margins and memory checks
  • MemPoolDebug::ourOutputStatusInterval = 30; for a status report every 30secs

The status report was not as helpful as I would have liked; it should probably also include a summary of total number of allocs/deallocs.

Also available in: Atom PDF