首页> 外国专利> Method and system for periodic trace sampling using a mask to qualify trace data

Method and system for periodic trace sampling using a mask to qualify trace data

机译:使用掩码定性跟踪数据的定期跟踪采样的方法和系统

摘要

A method and system for monitoring execution performance of a program is provided. Profiling functionality may be qualified by setting various qualifying flags at the request of a user. These qualifying flags may be used to limit the amount of trace data being generated or processed, thereby providing a more focused picture of an application's execution to the user. One or more trace,qualifying conditions are selectable by a user and are used during a profiling phase of application execution or during a post-processing phase of analyzing the application execution. During a profiling phase, an occurrence of a selected event or a timer interrupt is detected, and a determination is made as to whether a trace qualifying condition has been previously selected. In response to a determination that a trace qualifying condition has been selected, a trace record is then generated. During a post-processing phase, a trace record is read that contains a trace condition mask that stores the trace qualifying conditions that were active when the trace record was generated. The trace record is further processed in response to a determination that the trace condition mask has at least one active user-specified trace qualifying condition.
机译:提供了一种用于监视程序的执行性能的方法和系统。可以通过根据用户的要求设置各种限定标志来限定分析功能。这些限定标志可用于限制正在生成或处理的跟踪数据的数量,从而向用户提供应用程序执行的更集中的图片。用户可以选择一个或多个跟踪,限定条件,并在应用程序执行的概要分析阶段或分析应用程序执行的后处理阶段中使用。在概要分析阶段,将检测到所选事件的发生或计时器中断,并确定是否先前已选择了跟踪资格条件。响应于确定已经选择了跟踪合格条件,然后生成跟踪记录。在后处理阶段,将读取一个跟踪记录,其中包含一个跟踪条件掩码,该掩码存储了在生成跟踪记录时处于活动状态的跟踪限定条件。响应于确定跟踪条件掩码具有至少一个活动的用户指定的跟踪合格条件,进一步处理跟踪记录。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号