[Lazarus] What are the perfomance and memory usage effects of having heaptrc running?

2013-11-23 Thread vfclists .
I want to use heaptrc in a program, but only use the
AddExitProc(@DumpHeapTraceOutput) occasionally with a command line switch.

Does heaptrc intercept and monitor memory allocation throughout the program
execution, or does it do a scan of memory usage for output only at program
shutdown?

-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What are the perfomance and memory usage effects of having heaptrc running?

2013-11-23 Thread leledumbo
 Does heaptrc intercept and monitor memory allocation throughout the program
execution, or does it do a scan of memory usage for output only at program
shutdown?

Look at the source code, it's open :)
Basically HeapTrc will replace the current memory manager with its own,
tracing everything that's related to memory. 



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-What-are-the-perfomance-and-memory-usage-effects-of-having-heaptrc-running-tp4034452p4034453.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus