Method apparatus and article of manufacture for time profiling multi-threaded programs
Abstract
Methods, systems, and articles of manufacture consistent with the present invention time profile program threads using data corresponding to states of the registers of a processor(s) executing the threads. Methods, systems, and articles of manufacture consistent with the present invention determine whether a selected thread of execution of a multi-threaded program is running by suspending execution of the multi-threaded program, retrieving register data corresponding to the selected thread, computing register information based on the register data, comparing the computed register information with stored register information from a previous suspension of the multi-threaded program, and regarding the selected thread as running if the computed register information is different from stored register information. The last operation of regarding the selected thread as running may involve updating the previous register information based on the computed register information, and/or providing an indication corresponding to a portion of the program containing the selected thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 49.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for time profiling multiple threads of execution corresponding to a program, comprising: periodically interrupting execution of all of the threads; determining whether register data corresponding to a selected thread has changed from a previous interrupt of all of the threads; and providing an indication of the change for the selected thread.
- Claim 2Depends on #1
The method of claim 1 , wherein the determining step includes accessing stored data corresponding to the selected thread; and comparing the stored data with register information stored following a previous interrupt.
- Claim 3Depends on #2
The method of claim 2 , wherein the comparing step includes computing a value corresponding to the stored; and determining a relationship between the computed value and the previously stored register information.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 49 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (2)
- Lindholm, Tim, and Yellin, Frank, "The Java Virtual Machine Specification," Addison-Wesley, 1996.
- Rosenberg, "How Debuggers Work: Algorithms, Data Structures, and Architecture", New York, 1996, pp. 95-106.