www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Profile DMD

reply "Nick Sabalausky" <a a.a> writes:
Is there an easy way to profile DMD similar to how DMD itself has 
the -profile switch?
Dec 01 2011
parent reply Timon Gehr <timon.gehr gmx.ch> writes:
On 12/01/2011 07:42 PM, Nick Sabalausky wrote:
 Is there an easy way to profile DMD similar to how DMD itself has
 the -profile switch?
Use DMC, I guess. http://www.digitalmars.com/ctg/trace.html
Dec 01 2011
parent "Nick Sabalausky" <a a.a> writes:
"Timon Gehr" <timon.gehr gmx.ch> wrote in message 
news:jb8iak$2ucr$1 digitalmars.com...
 On 12/01/2011 07:42 PM, Nick Sabalausky wrote:
 Is there an easy way to profile DMD similar to how DMD itself has
 the -profile switch?
Use DMC, I guess. http://www.digitalmars.com/ctg/trace.html
Ah, ok, and it looks like DMD's makefile (at least on windows) has a target "trace" that includes the appropriate switches. So... make -f win32.mak trace ...seems to do the trick.
Dec 01 2011