应用程序错误共享

应用程序错误共享

本文介绍了工具来检测在C / C ++应用程序错误共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有检测并用C或C ++应用程序报告任何工具?

Are there any tools that detect and report False Sharing for applications written in C or C++?

推荐答案

尝试警长和$ P​​ $ pdator。
警长在,而predator是 https://github.com/plasma-umass/$p$pdator
predator是,你必须重新编译使用新的LLVM编译器程序编译器为基础的方法。这是最详尽的检测工具到现在。
警长库,但如果你使用pthreads库它只能检测出伪共享。

Try Sheriff and Predator.Sheriff is at https://github.com/plasma-umass/sheriff, while Predator is at https://github.com/plasma-umass/Predator.Predator is a compiler-based approach that you have to recompile your program using a new LLVM compiler. It is the most exhaustive detection tool up to now.Sheriff is library but it can only detect false sharing if you are using pthreads library.

这篇关于工具来检测在C / C ++应用程序错误共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-16 08:08