www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - profiling with -profile

reply "Minas Mina" <minas_mina1990 hotmail.co.uk> writes:
I have this code:

import std.stdio;

void main()
{
	f();
	g();
}

void f()
{
	writeln("f()");
}

void g()
{
	writeln("g()");
}

I compile with the command:

dmd test.d -profile

Then I execute it. It prints:
f()
g()

as expected. Shouldn't it print profiling information as well?
Jul 26 2012
parent "Minas Mina" <minas_mina1990 hotmail.co.uk> writes:
Sorry, I just saw the generated file...

:p
Jul 26 2012