How to exclude certain function from results?
poma
Posts: 4
I have software that spends lots of time receiving data from socket. How can I exclude 'Receice' function from profiling results?
Comments
ANTS v6 shows you which timespan(s) any method has been active for.
Unlike earlier versions, however, you cannot exclude specific assemblies.
If you find that you are seeing a lot of real time (wall clock time) spent in the receive function- ensure you are using the "CPU time" filter.
Other than that- as I say, the application is not designed to exclude specific methods- sorry. Can I ask *why* you want to exclude this data- it won't affect the data for the methods you *do* want to see so why bother excluding it?
My app is web crawler. It usualy run in 100 threads and I want to optimize CPU usage. But it actually shows me network usage because method's timings usually depend on web request time.