Content deleted Content added
m →History of hot spot detection: Space |
Wavehunter (talk | contribs) m Tidy up, wikify, copy edit |
||
Line 1:
{{
▲The most usual definition of a hot spot in [[computer science]] is a region of a [[computer program]] where the highest number of executed instructions occurs or where most time is spent during the programs execution (not necessarily the same thing since some instructions are faster than others).
If a program is stopped randomly, the [[program counter]] (the [[Pointer (computing)|pointer]] to the next instruction to be executed) is frequently found to contain the address of an instruction within a certain range, possibly indicating code that is in need of optimization or even indicating the existence of a 'tight' [[CPU]] [[control flow#Loops|loop
===History of hot spot detection===
<blockquote>In the [[1960s|'60s]], someone invented the concept of a 'jump trace'. This was a way of altering the [[machine code|machine language]] of a program so it would change the next branch or [[jump instruction]] to retain control, so you could execute the program at fairly high speed instead of interpreting each instruction one at a time and record in a file just where a program diverged from sequentiality. By processing this file you could figure out where the program was spending most of its time. So the first day we had this software running, we applied it to our [[Fortran]] [[compiler]] supplied by, I suppose it was in those days, [[Control Data Corporation]]. We found out it was spending 87 percent of its time reading [[Comment (computer programming)|comments]]! The reason was that it was translating from one code system into another into another.
▲just where a program diverged from sequentiality. By processing this file you could figure out where the program was spending most of its time. So the first day we had this software running, we applied it to our [[Fortran]] [[compiler]] supplied by, I suppose it was in those days, [[Control Data Corporation]]. We found out it was spending 87 percent of its time reading [[Comment (computer programming)|comments]]! The reason was that it was translating from one code system into another into another."</blockquote>
==See also==
[[Algorithmic efficiency#Hot spot analyzers|Hot spot analyzers]]<br>
[[Performance analysis]]
==References==
|