首页> 外文会议>2nd joint WOSP/SIPEW international conference on performance engineering 2011 >Analysing the Fidelity of Measurements Performed with Hardware Performance Counters
【24h】

Analysing the Fidelity of Measurements Performed with Hardware Performance Counters

机译:分析使用硬件性能计数器执行的测量的保真度

获取原文
获取原文并翻译 | 示例

摘要

Performance evaluation requires accurate and dependable measurements of timing values. Such measurements are usually made using timer methods, but these methods are often too coarse-grained and too inaccurate. Thus, direct usage of hardware performance counters is frequently used for fine-granular measurements due to higher accuracy. However, direct access to these counters may be misleading on mul-ticore computers because cores can be paused or core affinity changed by the operating system, resulting in misleading counter values. The contribution of this paper is the demonstration of an additional, significant flaw arising from the direct use of hardware performance counters. We demonstrate that using JNI and assembler instructions to access the Timestamp Counter from Java applications can result in grossly wrong values, even in single-threaded scenarios.
机译:性能评估需要对时序值进行准确而可靠的测量。通常使用计时器方法进行此类测量,但是这些方法通常过于粗糙且不准确。因此,由于精度较高,经常直接使用硬件性能计数器进行细粒度测量。但是,在多核计算机上直接访问这些计数器可能会产生误导,因为操作系统可能会暂停内核或更改内核亲和力,从而导致误导计数器值。本文的贡献是直接使用硬件性能计数器所产生的另一个重大缺陷的演示。我们证明,即使在单线程方案中,使用JNI和汇编程序指令从Java应用程序访问时间戳计数器也会导致严重错误的值。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号