Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有一个地方可以让我查看 .NET 秒表代码并查看它在做什么?我正在尝试匹配一些 C++ 代码以规范化 .NET 秒表提供的时间戳与 C++ 中的 QueryPerformance 调用。(如果可能,我需要非常精确,所以我需要了解 .NET 秒表调用中实际发生的情况)。
代码是否可见/在我可以在线阅读的地方打开。反编译 mscorlib 是一种选择吗?我有点把它作为最后的手段。
这是 .NET 3.5 的作用
http://reflector.webtropy.com/default.aspx/Dotnetfx_Win7_3@5@1/Dotnetfx_Win7_3@5@1/3@5@1/DEVDIV/depot/DevDiv/releases/whidbey/NetFXspW7/ndp/fx/src/服务/监控/系统/诊断/Stopwatch@cs/1/Stopwatch@cs
源代码上的日期是 2002 年末,因此可能大多数 .NET 版本都使用相同的代码。