Use a profiler. One good open source profiler is NProf. Or use any of the
"denz" <denz@discussions.microsoft.com> wrote in message
news:AAD9DD77-CAC6-4DFC-A2F7-C26230DCCB83@microsoft.com...
> yes, basically i just want to find out the number of times a function call
> is
> made within a particular function.
> thanks.
>
> "Sriram Krishnan" wrote:
>
>> Maybe the original poster was talking about profiling and counting the
>> number of times a function is called
>>
>> --
>> Sriram Krishnan
>>
>>
http://www.dotnetjunkies.com/weblog/sriram >>
>>
>> "Richard Blewett [DevelopMentor]" <richardb@develop.com> wrote in message
>> news:%23tld7W6rEHA.3116@TK2MSFTNGP15.phx.gbl...
>> > You'll need access to the IL stream for that. Theres a new method in
>> > the
>> > Whidbey reflection API to get that, but until then you either have to
>> > parse it yourself or use Lutz Roeder's ILReader library
>> >
>> >
http://www.aisto.com/roeder/dotnet/ >> >
>> > Regards
>> >
>> > Richard Blewett - DevelopMentor
>> >
http://staff.develop.com/richardb/weblog >> >
>> > nntp://news.microsoft.com/microsoft.public.dotnet.framework.clr/<74428B56-D6DA-41A8-B2EC-6687491516E3@microsoft.com>
>> >
>> > how can i count the number of function calls that a particular
>> > function
>> > makes? i want to be able to inspect a dll and retrieve the number of
>> > function
>> > calls for a particular function. i know that this is possible since
>> > ildasm
>> > actually displays the opcodes for function calls and others within a
>> > particular function..
>> >
>> > thanks in advance..
>> >
>> > ---
>> > Incoming mail is certified Virus Free.
>> > Checked by AVG anti-virus system (
http://www.grisoft.com).
>> > Version: 6.0.775 / Virus Database: 522 - Release Date: 08/10/2004
>> >
>> >
>> >
>> > [microsoft.public.dotnet.framework.clr]
>>
>>
>>