1. The first step would be count the number of objects for each class,
and thus I can see hot pots and where I can start to reduce memory
usage.
2. The second goal would be monitor the frequency of new/delete for
each class, those highly rated class would be better allocated into
memory pool. and this going to help me improve the overall application
performance.
How could easily achieve these goals, or there is any existing
software can do that?
Don't tell me the way to put the counter into each class's
constructor/
destructor, since the application is huge and contain too many
classes to be easily instrumented.
Take a look at AutomatedQA's AQtime. They _may_ have what you need.
Not sure about the platform, though. I know they work on Windows.
> [..]
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask