Hi guys,
I was looking over the results of a Profiler in visual studio and in its list of functions doing the most work it has System.ni.dll doing 40% of the work and mscorlib.ni.dll doing 35% of the work. Is there any way to figure out what exactly those two functions are doing? A large chunk of the program should be just creating a web client and calling WebClient.DownloadString.
Getting more data from a profiler
Page 1 of 14 Replies - 204 Views - Last Post: 28 December 2012 - 03:33 PM
Replies To: Getting more data from a profiler
#2
Re: Getting more data from a profiler
Posted 28 December 2012 - 03:13 PM
Here's more information about the *.ni.dll DLL's: http://stackoverflow...hat-are-ni-dlls
Anyway, if you look at your callstack, you can see what you are calling before it goes into those assemblies.
Out of curiosity, did make sure that you downloaded symbols from the Microsoft Symbol server? Sometimes the extra symbol information helps as well.
Anyway, if you look at your callstack, you can see what you are calling before it goes into those assemblies.
Out of curiosity, did make sure that you downloaded symbols from the Microsoft Symbol server? Sometimes the extra symbol information helps as well.
#3
Re: Getting more data from a profiler
Posted 28 December 2012 - 03:20 PM
#4
Re: Getting more data from a profiler
Posted 28 December 2012 - 03:25 PM
sniderj1, on 28 December 2012 - 04:08 PM, said:
list of functions doing the most work it has
System.ni.dll doing 40% of the work and
mscorlib.ni.dll doing 35% of the work.
Is there any way to figure out what exactly those two functions are doing?
System.ni.dll doing 40% of the work and
mscorlib.ni.dll doing 35% of the work.
Is there any way to figure out what exactly those two functions are doing?
Just to clear something up: Those aren't functions. Those are libraries filled with many functions.
- .DLL - Dynamic Load Library - A library that loads dynamically when needed. Usually containing many functions
- Function - Method - subroutine - A block of code completing one discrete function or purpose.
So if you're trying to comprehend what the purpose is of two functions you're way off. There might be 100 different functions being called as part of those two libraries.
#5
Re: Getting more data from a profiler
Posted 28 December 2012 - 03:33 PM
And to be fair, System and mscorlib are the basic libraries that almost all .NET programs rely on. If they're taking up the lion's share of your resources, that probably means your program isn't very resource-intensive.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|