Time measurement using a context switch count, an offset, and a scale factor, received from the operating system
Abstract
Systems, methods, and devices are provided for time measurement. One embodiment includes a method for measuring time on multiprocessor systems. The method includes allocating a memory space to a thread to be used to communicate with an operating system and saving a context switch count, an offset, and a scale factor, received from the operating system, in the memory space.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for use in calculating time in a computing device, comprising: allocating, by program instructions executing in the computing device, a memory space to a thread executing on a first processor, wherein the memory space is to be used to communicate with an operating system; saving a context switch count, an offset, and a scale factor, received from the operating system, in the memory space that is part of a memory, wherein the context switch count is a count of context switches of the thread, and wherein the offset and scale factor are for use along with a counter of the first processor
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (1)
- Intel P6 vs P7 system call performance; Indiana university Linux-Kernel Archive; Dec. 2002, 14 pages.