Re: [fpc-pascal] profiler

2005-07-22 Thread Jan Ruzicka
That is really a great tool. It shows even how is the assembler mapped to the source code. I was surprised when I learned that 90% of time spent in my function goes to a result assignment stalling the processor. the usual function f : TStructure var b: TStructure; begin ... some processi

Re: [fpc-pascal] profiler

2005-07-20 Thread Jonas Maebe
On 05 Jul 2005, at 06:36, Jan Ruzicka wrote: Was the profiling tested under OS X? No, but I would urge you to use Shark from CHUD (http:// developer.apple.com/tools/performance/overview.html) It's much better and versatile than gprof, and only requires regular debugging information to wo

Re: [fpc-pascal] profiler

2005-07-19 Thread Jan Ruzicka
Hi all is there a way to remove the '-dynamic-linker=' flag ? Thanks Jan On Jul 5, 2005, at 00:36, Jan Ruzicka wrote: [] Was the profiling tested under OS X? Assembling tfmtbcd Linking TFMTBCD /usr/bin/ld: unknown flag: -dynamic-linker= TFMTBCD.pp(328,4) Error: Error while linking Error: /usr

Re: [fpc-pascal] profiler

2005-07-04 Thread Jan Ruzicka
On Jul 2, 2005, at 17:18, Peter Vreman wrote: At 10:06 2-7-2005, you wrote: I have problems when compiling with -pg (profiler) Is this my fault or a compiler error? P:\FmtBCD>ppc386 -a -pg -Croit -Op1 testprof Free Pascal Compiler version 2.1.1 [2005/06/25] for i386 Copyri

Re: [fpc-pascal] profiler

2005-07-02 Thread Peter Vreman
At 10:06 2-7-2005, you wrote: I have problems when compiling with -pg (profiler) Is this my fault or a compiler error? P:\FmtBCD>ppc386 -a -pg -Croit -Op1 testprof Free Pascal Compiler version 2.1.1 [2005/06/25] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target

Re: [fpc-pascal] profiler

2005-07-02 Thread Florian Klaempfl
Gerhard Scholz wrote: I have problems when compiling with -pg (profiler) Is this my fault or a compiler error? P:\FmtBCD>ppc386 -a -pg -Croit -Op1 testprof Free Pascal Compiler version 2.1.1 [2005/06/25] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Wi

Re: [fpc-pascal] profiler

2005-07-02 Thread Gerhard Scholz
I have problems when compiling with -pg (profiler) Is this my fault or a compiler error? P:\FmtBCD>ppc386 -a -pg -Croit -Op1 testprof Free Pascal Compiler version 2.1.1 [2005/06/25] for i386 Copyright (c) 1993-2005 by Florian Klaempfl Target OS: Win32 for i386 Compilin