首页> 外国专利> METHOD AND SYSTEM FOR PERFORMANCE MONITORING IN A MULTITHREADED PROCESSOR

METHOD AND SYSTEM FOR PERFORMANCE MONITORING IN A MULTITHREADED PROCESSOR

机译:在多线程处理器中进行性能监控的方法和系统

摘要

A method and system for performance monitoring within a multithreaded processor are provided. The system includes a processor responsive to instructions within first and second threads and a performance monitor that separately records a first event generated by the processor in response to the first thread and a second event generated by the processor in response to the second thread. In one embodiment, the processor has first and second modes of operation. In this embodiment, when the performance monitor is operating in the first mode, a first counter within the performance monitor increments in response to each occurrence of the first event and a second counter within the performance monitor increments in response to each occurrence of the second event. Alternatively, when the performance monitor is operating in the second mode, the first counter increments in response to each occurrence of the first event and in response to each occurrence of the second event.
机译:提供了一种用于在多线程处理器内进行性能监视的方法和系统。该系统包括:处理器,其响应于第一线程和第二线程内的指令;以及性能监视器,其分别记录由处理器响应于第一线程而生成的第一事件和由处理器响应于第二线程而生成的第二事件。在一个实施例中,处理器具有第一和第二操作模式。在该实施例中,当性能监视器在第一模式下操作时,性能监视器内的第一计数器响应于第一事件的每次发生而递增,并且性能监视器内的第二计数器响应于第二事件的每次发生而递增。 。可替代地,当性能监视器以第二模式操作时,第一计数器响应于第一事件的每次发生以及响应于第二事件的每次发生而递增。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号