是否有如何自定义 .NET 4.0 分析器的示例?

发布于 2024-10-09 03:56:29 字数 240 浏览 0 评论 0原文

我知道有一个用于探查器 2.0 的: http://www.codeproject.com/KB/ dotnet/dotnetprofiler.aspx 但是 .NET 4.0 中的探查器 API 发生了变化,我们需要考虑进程内并行问题。我需要一个例子来定制我们自己的分析器。有人知道吗?谢谢!

I know there is one for profiler 2.0: http://www.codeproject.com/KB/dotnet/dotnetprofiler.aspx
But the profiler API has changed in .NET 4.0 and we need to consider in-process side by side issues. I need an example to customize our own profiler. Anyone knows that? Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

睫毛溺水了 2024-10-16 03:56:29

我没有实际的示例,但是 这篇文章正是关于您的问题。另请查看他的博客的其余部分,有更多关于 4.0 分析器(以及一般分析器)的帖子。

顺便说一句,在链接博客文章的评论部分中,他说官方 4.0 分析器源代码尚未准备好,但一旦准备好,他会发布相关信息。 (虽然这是 4 个月前的事了。)

编辑: CLRProfiler 4.0 刚刚发布并包含源代码,因此您得到了示例;-)

I don't have an actual example, but this post is exactly about your question. Also check out the rest of his blog, there are more posts about 4.0 profilers (and profilers in general).

By the way, in the comments section of the linked blog post he says the official 4.0 profiler source is not ready, but when it is he'll post about it. (Though this was 4 months ago or something.)

Edit: CLRProfiler 4.0 just got released and includes source code, so you got your sample ;-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文