C# 和 C/C++集成分析

发布于 2024-12-04 02:39:36 字数 466 浏览 5 评论 0原文

我正在尝试对一些有关 OO 中低级效率的应用程序进行一些配置文件 框架,即指令计数、高速缓存未命中、TLB 未命中等。到目前为止,我能够在 Java 中将 Papi profiler 工具与 JNI 混合来进行此类测量和 AspectJ 来获取所需的信息。

我想知道是否有人知道 C# 中类似的东西,即混合 C#、面向方面编程 (AoP) 以及 C 和 C# 之间的某种调用接口。

我一直在谷歌上搜索,发现已经有一个 C# 的 AoP 相关框架,名为 AspectSharp,但是在 Mono 中配置和使用它似乎有点复杂(这就是我在 C# 中使用的框架)。

方面寻求帮助

  • 所以总而言之,我在AspectSharp
  • C/C++ <=> 。 C# 接口(?)

提前致谢

I am trying to do some profiles on some applications regarding low-level efficiency in OO
frameworks, namely, instruction counts, cache-miss, TLB misses, and things of the sort. So far I was able to do these kind of measurements in Java mixing the Papi profiler instrumentations with JNI and AspectJ to get the desired info.

I was wondering if anyone knows about something similar in C#, i.e., mixing C#, aspect oriented programming (AoP) and some kind calling interfaces between C and C#.

I've been googling and found there already is an AoP related framework for C# called AspectSharp, however it seems a bit complicated to configure and use it in Mono (which is what I use for C#).

So in conclusion I'm asking for help in

  • AspectSharp
  • C/C++ <=> C# interfaces (?)

Thanks in advance

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文