How do Does CLR Profiler work?

Source: Internet
Author: User

In order-to-use-a profiler properly, you need-understand how the data is collected and the limitations of the tool. The CLR Profiler uses a special interface to the runtime this allows it to get callbacks when particular events happen wit Hin the runtime (msdn.microsoft.com/library/ms404511.aspx). Currently, this interface can being used only if the process being profiled are started with certain environment variables set That inform, the runtime regarding the contact mechanism to the profiler. Thus, there is some limitations, such as the inability to the attach process. CLR Profiler must start the process with the right environment variables set. For services that is typically started by the OS directly, like ASP, special procedures has to be followed (see CLR Profiler.doc from the download for details). As an aside, for certain scenarios we had added API support for attach in the. NET Framework 4 (and only the API support; Support for attaching the CLR Profiler toolwould follow soon after).

Https://msdn.microsoft.com/en-us/library/ms404511.aspx

How do Does CLR Profiler work?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.