 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Nicholas Sherlock Guest
|
Posted: Sat Oct 22, 2005 9:19 am Post subject: Sampling profiler |
|
|
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
|
Posted: Mon Oct 24, 2005 6:27 am Post subject: Re: Sampling profiler |
|
|
| 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 |
|
 |
|
|
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
|
|