From: steffen@latrade.com (Steffen Ullrich)
Subject: Q: getting profiling data while program is still running
Date: 1996/08/30 [thread overview]
Message-ID: <5076j6$s9t@xensei3.xensei.com> (raw)
I'm in the process of profiling a huge C++ application.
I used pixie/prof to get information about the calls and can extract
from this report some useful information about the number of objects
created (simple counting the constructors). unfortunatly I get these
information only at the end of the program, but I really like to make a
dump from the current state, to see how many objects from a specific
type are currently in use (e.g. subtract the number of desctructor calls
from the constructor calls). What I've found is monitor_signal(3) but
it looks like this is only working for PC-Sampling and not for basic
Block Counting. Is there any other function which I could simply use as a
signal handler for dumping the .Counts file?
Or does anybody has other ideas how to manage this kind of task
(counters in the constructors/destructors is unpossible, there are way
to many classes involved)
reply other threads:[~1996-08-30 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox