Measuring elapsed time for a software routine
Abstract
A method for determining if a measurement of an elapsed time for an execution of a software routine in a computer system is valid. A clock skew is used between the clocks of two processors such that the size of the clock skew is greater than the maximum possible elapsed time for the execution of the software routine. The software routine is executed with a clock value recorded before (start time) and after (end time) execution. An elapsed time is calculated as a difference between the start time and the end time. Whether the elapsed time is valid is determined by checking for a positive value of the elapsed time and comparing the value of the elapsed time with the clock skew.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for determining if a measurement of an elapsed time for an execution of a software routine in a computer system is valid, the software routine having a maximum elapsed time, the computer system including a first processor and a second processor, each of the first and second processors including a clock, the method comprising the steps of: modifying a value of the clock of the second processor so that a difference between a value of the clock of the first processor and the value of the clock of the second processor is larger than the maximum elapsed time, the difference between the val
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗