BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sampling profiler

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM
View previous topic :: View next topic  
Author Message
Nicholas Sherlock
Guest





PostPosted: Sat Oct 22, 2005 9:19 am    Post subject: Sampling profiler Reply with quote



Hey all,

Is this the right place to ask questions about the excellent sampling
profiler which was being talked about here recently? I'm having great
fun with it, finding out exactly where the slow areas of my code are
without having to set source paths or modifiy source code to do it (This
is a real pain if you're using a VCS!).

But now I'm developing a Photoshop plugin, so here's my question: Can
you profile a Delphi DLL which is loaded by another process with the
sampling profiler? If not, are there plans to add this feature?

Cheers,
Nicholas Sherlock
Back to top
Eric Grange
Guest





PostPosted: Mon Oct 24, 2005 6:27 am    Post subject: Re: Sampling profiler Reply with quote



Quote:
Is this the right place to ask questions about the excellent sampling
profiler which was being talked about here recently?

As good as any other, since there isn't even a webpage for the proggy :)

Quote:
But now I'm developing a Photoshop plugin, so here's my question: Can
you profile a Delphi DLL which is loaded by another process with the
sampling profiler?

Not supported. Data gathering is currently EXE-process centric,
and dynamically unloading a DLL may not be very well supported either
(like unloading a plugin and reloading another... will probably result
in wrong locations being reported if the 2nd DLL got loaded in the
address space of the 1st unloaded one).

Quote:
If not, are there plans to add this feature?

No plans so far, it should be reasonnably easy to add an option to profile
a particular DLL rather than the EXE, however I've no idea how the various
JEDI debug infos classes (MAP, TD32, JDBG) behave in that DLL case...

Eric

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.