 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Charalabos Michael Guest
|
Posted: Wed May 09, 2007 4:16 am Post subject: REQUEST: Application profiling for finding most used RTL fun |
|
|
Hello,
Could everyone with AQTime or any other Profiler to profile
it's application in order to see which functions are used a lot
and needed to make a challenge ?
Thank you
--
Charalabos Michael - [Creation Power] - http://www.creationpower.gr |
|
| Back to top |
|
 |
Davy Landman Guest
|
Posted: Wed May 09, 2007 8:12 am Post subject: Re: REQUEST: Application profiling for finding most used RTL |
|
|
| Quote: | Hello,
Hi, nice idea, but you do know, it takes alot of time to make those BV's... |
and just telling what should be done is nice, but it essentialy means, that
Dennis should create those BV's...
It's allot of time for Dennis to make those BV's, so I'm hoping that when
your suggesting the challenges, you'll think about creating the BV's
yourself as to help the speed of the process?
| Quote: | Could everyone with AQTime or any other Profiler to profile
it's application in order to see which functions are used a lot
and needed to make a challenge ?
I would not advise using AQTime for profiling, because it's an instruction |
profiler, it can get in the way of the real problems and make other
functions appear more slow than they are without instruction..
I would advise using the sampling profiler by Eric Grange..
http://fastcode.sourceforge.net/FastcodeFileDownloads/SamplingProfiler-1.4.4.zip
When I have the time, I will look at some programs of mine..
Kind Regards,
Davy Landman |
|
| Back to top |
|
 |
Charalabos Michael Guest
|
Posted: Thu May 10, 2007 12:15 am Post subject: Re: REQUEST: Application profiling for finding most used RTL |
|
|
Hello Davy,
| Quote: | Hi, nice idea, but you do know, it takes alot of time to make those BV's...
and just telling what should be done is nice, but it essentialy means, that
Dennis should create those BV's...
|
It would be nice to know and then start slowing making BD's.
| Quote: | It's allot of time for Dennis to make those BV's, so I'm hoping
that when your suggesting the challenges, you'll think about
creating the BV's yourself as to help the speed of the process?
|
Unfortunally i don't have time for creating BV's.
| Quote: | I would not advise using AQTime for profiling, because it's an instruction
profiler, it can get in the way of the real problems and make other
functions appear more slow than they are without instruction..
|
No problem on what profiler you'll use.
--
Charalabos Michael - [Creation Power] - http://www.creationpower.gr |
|
| Back to top |
|
 |
Lars G Guest
|
Posted: Sat May 19, 2007 11:17 pm Post subject: Re: REQUEST: Application profiling for finding most used RTL |
|
|
"Charalabos Michael" <chmichael@_-_no_-_creationpower_-_spam_-_.com> skrev i
en meddelelse news:464104e1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello,
Could everyone with AQTime or any other Profiler to profile
it's application in order to see which functions are used a lot
and needed to make a challenge ?
|
I did a profiling quake2d (Turbo Delphi explore 2006)
http://sourceforge.net/projects/quake2delphi/
See in the borland.public.attachments > quake2d
...
Lars G |
|
| Back to top |
|
 |
Dennis Guest
|
Posted: Sun May 20, 2007 8:11 am Post subject: Re: REQUEST: Application profiling for finding most used RTL |
|
|
Hi Lars
| Quote: | I did a profiling quake2d (Turbo Delphi explore 2006)
|
Very interesting. Can you give us some highlights here?
Best regards
Dennis Kjaer Christensen |
|
| Back to top |
|
 |
Lars G Guest
|
Posted: Mon May 21, 2007 11:03 pm Post subject: Re: REQUEST: Application profiling for finding most used RTL |
|
|
"Dennis" <marianndkc (AT) home3 (DOT) gvdnet.dk> skrev i en meddelelse
news:464ff8b8$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi Lars
I did a profiling quake2d (Turbo Delphi explore 2006)
Very interesting. Can you give us some highlights here?
|
47,08% winmm.dll
20.54% ref_soft.dll
18.59% ntdll.dll
8.75% quake2d.exe
49.77% of 8,75%
function Sys_Milliseconds: Integer;
begin
if not initialized then
begin
// Let base retain 16 bits of effectively random data.
base := timeGetTime and $FFFF0000;
initialized := True;
end;
curtime := Integer(timeGetTime) - base;
Result := curtime;
end;
27.88% of 8,75%
// Wait more than 1 ms.
repeat
newtime := Sys_Milliseconds;
time := newtime - oldtime;
until time >= 1;
and 6.29% of 8,75%
14,32% @LstrArrayClr
12.85% @LStrFromPChar
11.05% SysGetMem
10.60% @FillChar
*
*
*
But please download Eric Grange profiler it is easy´er to see it there !
...
Lars |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|