Thread overview
profiling
Jun 04, 2005
Carlos Santander
Jun 05, 2005
David Friedman
Jun 05, 2005
Carlos Santander
June 04, 2005
-fprofile seems to do nothing (gdc 0.12). Is this intentional? Should I do something especial?

Also, does anybody know of a free profiler for Mac?

-- 
Carlos Santander Bernal
June 05, 2005
Carlos Santander wrote:
> -fprofile seems to do nothing (gdc 0.12). Is this intentional? Should I do something especial?
> 
> Also, does anybody know of a free profiler for Mac?
> 

Use "-pg" instead of -fprofile (this applies to gcc as well).

The standard GNU gprof program is installed with Mac developer tools. There is also the "Sampler" application, but that just takes timed samples.

David



June 05, 2005
David Friedman escribió:
> Carlos Santander wrote:
> 
>> -fprofile seems to do nothing (gdc 0.12). Is this intentional? Should I do something especial?
>>
>> Also, does anybody know of a free profiler for Mac?
>>
> 
> Use "-pg" instead of -fprofile (this applies to gcc as well).
>

I'll try that.

> The standard GNU gprof program is installed with Mac developer tools. There is also the "Sampler" application, but that just takes timed samples.
> 

I was trying Sampler, Shark, etc., and they don't work for me. I don't know how to do console input/output with them. I need to enter some values, but I don't get a console. I'll try gprof. Thanks.

> David
> 
> 
> 


-- 
Carlos Santander Bernal