发明名称 BRANCH TRACE COMPRESSION
摘要 Exemplary methods, apparatuses, and systems generate a plurality of possible branch traces for a computer program. Each possible branch trace represents different sequences of branch instructions that may be executed while the computer program is running. Each branch instruction has a corresponding identifier. A branch trace value is generated for at least one of the plurality of possible branch traces. Generating the branch trace value includes performing a mathematical or logical operation between a first identifier and each subsequent identifier of the possible branch trace to obtain the branch trace value. An output including a branch trace is generated based upon a match between a run-time branch trace value and the at least one generated branch trace value.
申请公布号 US2015058606(A1) 申请公布日期 2015.02.26
申请号 US201313972727 申请日期 2013.08.21
申请人 VMware, Inc. 发明人 MADAMPATH Rajiv;BAJAJ Rupesh
分类号 G06F9/30 主分类号 G06F9/30
代理机构 代理人
主权项 1. A computer-implemented method, comprising: generating a plurality of possible branch traces for a computer program, each possible branch trace representing different sequences of branch instructions that may be executed while the computer program is running, each branch instruction having a corresponding identifier; generating a branch trace value for at least one of the plurality of possible branch traces, wherein generating the branch trace value includes performing a mathematical or logical operation between a first identifier and each subsequent identifier of the possible branch trace to obtain the branch trace value; receiving or reading a run-time branch trace value generated while the computer program is executed; and generating an output including a branch trace, wherein the output branch trace is selected based upon a match between the run-time branch trace value and the at least one generated branch trace value.
地址 Palo Alto CA US