Suppressing execution of monitoring measurement program pointed to by inserted branch after threshold number of coverage to reduce instruction testing overhead
Abstract
In a method for testing a program, repeated measurement on branches that are frequently taken is prevented, thereby avoiding unnecessary overhead. An information processing device includes a coverage measurement control program for determining whether the number of times an instruction of a measurement target program has been executed due to execution of the measurement target program is equal to or larger than the maximum allowable number of measurements set for the instruction; and a coverage measurement program for incrementing a value in a field for the instruction by one to indicate the number of times the instruction has been executed, the coverage measurement program being called if the number of times the instruction has been executed is smaller than the maximum allowable number of measurements.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 6.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for carrying out a coverage measurement on a test target program, which includes jump instruction codes and non-jump instruction codes, said method comprising: branching to a coverage measurement control program by executing a branch instruction inserted in the test target program; determining by said coverage measurement control program whether a number of times an instruction code next to the branch instruction in the test target program was executed has reached a predetermined number of times; if the predetermined number of times has not been reached, executing a coverage measureme
- Claim 2Independent Claim
The method as claimed in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗