digitalmars.D.learn - profiling with -profile
- Minas Mina (21/21) Jul 26 2012 I have this code:
- Minas Mina (2/2) Jul 26 2012 Sorry, I just saw the generated file...
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
Sorry, I just saw the generated file... :p
 Jul 26 2012








 
  
  
  "Minas Mina" <minas_mina1990 hotmail.co.uk>
 "Minas Mina" <minas_mina1990 hotmail.co.uk>