Identifying code that wastes time performing redundant computation
Abstract
A method of runtime analysis of a computer program can include, after each access of a first type to a memory address, incrementing a counter associated with the memory address and, after each access of a second type to a memory address, comparing the counter associated with the memory address with a threshold. The method further can include identifying at least one memory address having a counter that exceeds the threshold and determining a portion of code responsible for accessing the memory address associated with the counter that exceeds the threshold.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of runtime analysis of a computer program comprising: after each access of a first type to a memory address, incrementing a counter associated with the memory address; after each access of a second type to the memory address, comparing the count of the counter associated with the memory address with a threshold value and resetting the counter, wherein the count of the counter represents a count of consecutive accesses of the first type prior to an access of the second type; determining that the count of the counter associated with the memory address exceeds the th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (2)
- Garigipati, et al. "Evaluating the use of Profiling by a Region-based Register Allocator", 2001, ACM, p. 953-957.
- Wu, et al. "Exposing Memory Access Regularities Using Object-Relative Memory Profiling", 2004, IEEE, p. 1-9.