首页> 外国专利> COUNTING SPECULATIVE AND NON-SPECULATIVE EVENTS

COUNTING SPECULATIVE AND NON-SPECULATIVE EVENTS

机译:计算特殊事件和非特殊事件

摘要

Counting events during the execution of one or more instructions in a computer system may be accomplished by maintaining a non-speculative counter for counting events occuring in non-speculative instructions, as well as a separate speculative counter for counting events occuring in speculative instructions. Event counters may be used to count individual events occuring during the processing of instructions. When the instruction has been completed, the amount in the event counter corresponding to a particular event for that isntruction is added to the amount in the speculative counter corresponding to the event. Then, any retirable instructions are retired. Once an instruction is retired, it is no longer speculative, allowing the amount in the speculative counter to be incremented by the amount in any event counters corresponding to retirable instructions. The speculative and non-speculative counters may then be examined at any point in time to give a clear picture of the number of times a specific event has occured, even when instructions are executed out-of-order.
机译:在计算机系统中执行一条或多条指令期间对事件进行计数可以通过维护用于计数在非推测性指令中发生的事件的非推测性计数器以及用于对在推测性指令中发生的事件进行计数的单独的推测性计数器来实现。事件计数器可用于对在指令处理期间发生的单个事件进行计数。当指令完成时,事件计数器中与该构造的特定事件相对应的量被添加到推测计数器中与该事件相对应的量。然后,所有可撤消的指令均被撤消。指令一旦退出,就不再是推测性的,允许推测计数器中的数量增加与可撤消指令相对应的任何事件计数器中的数量。然后可以在任何时间检查推测性和非推测性计数器,以清晰显示特定事件发生的次数,即使指令被无序执行也是如此。

著录项

  • 公开/公告号WO0237263A2

    专利类型

  • 公开/公告日2002-05-10

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC.;

    申请/专利号WO2001US45428

  • 发明设计人 DAMRON PETER C.;

    申请日2001-10-31

  • 分类号G06F9/00;

  • 国家 WO

  • 入库时间 2022-08-22 00:36:32

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号