gpt4 book ai didi

windows - 如何在 Windows 上监控 CPU 缓存?

转载 作者:可可西里 更新时间:2023-11-01 14:13:51 53 4
gpt4 key购买 nike

我想尽可能地避免我的代码刷新 L2 缓存。

您将如何在 C++/C# 中实现这一目标,以及您将如何使其负责。

编辑: 我可以选择收集 L2 缓存未命中数吗?回答:是Can I get the L2 cache miss count of each process on the windows platform?

最佳答案

似乎人们不愿意透露这方面的信息(c++ 或 c# 无所谓)。所以我可能不得不创建自己的策略,该策略可能会使用一组方法而不是一组严格的规则或方法。

要使 Windows 应用程序达到最大命中/未命中率,我可能会:

关于windows - 如何在 Windows 上监控 CPU 缓存?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14381876/

53 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com