Legal claims defining the scope of protection, as filed with the USPTO.
1. A non-transitory computer-readable recording medium storing therein a performance monitoring program containing instructions to be executed on a computer, the program causing the computer to execute: an interrupt detection procedure of detecting generation of an interrupt process to be executed by a processor in accordance with TLB entry invalidation executed in an operating system; a counter value acquisition procedure of acquiring a counter value of a predetermined event counted by the processor at a timing at which the interrupt process is detected in the interrupt detection procedure; a process information acquisition procedure of acquiring identification information for identifying a process executed on the processor from the operating system immediately before the interrupt process is detected in the interrupt detection procedure; and an associating procedure of associating the counter value acquired at the time of the interrupt process in the counter value acquisition procedure with the identification information acquired in the process information acquisition procedure in regard to the process that has been executed on the processor immediately before the interrupt process; wherein the associating procedure includes accumulating the counter value acquired in the counter value acquisition procedure for each process corresponding to the information acquired in the process information acquisition procedure; and the associating procedure further includes adding the counter value acquired in the counter value acquisition procedure to a counter value that is stored in a memory and is corresponding to the identification information acquired at the time when a previous interrupt process is generated.
2. The non-transitory computer-readable recording medium according to claim 1 , the program further causing the computer to execute: a specifying information acquisition procedure of acquiring specifying information for specifying a monitoring target process, wherein the counter value acquisition procedure acquires a counter value of the predetermined event counted only with respect to a process corresponding to the specifying information acquired in the specifying information acquisition procedure on the basis of the identification information acquired in the process information acquisition procedure.
3. The non-transitory computer-readable recording medium according to claim 1 , wherein the counter value acquisition procedure and the process information acquisition procedure respectively acquire the counter value and information regarding a process at predetermined intervals.
4. The non-transitory computer-readable recording medium according to claim 1 , the program further causing the computer to execute: a switch determination procedure of determining whether a process corresponding to the information acquired in the process information acquisition procedure is different between before and after the interrupt process detected in the interrupt detection procedure, wherein the process information acquisition procedure acquires information regarding the process that will be executed immediately after the interrupt process when it is determined in the switch determination procedure that the process is different between before and after the interrupt process.
5. A performance monitoring method executed on a computer, comprising: an interrupt detection procedure of detecting generation of an interrupt process to be executed by a processor in accordance with TLB entry invalidation executed in an operating system; a counter value acquisition procedure of acquiring a counter value of a predetermined event counted by the processor at a timing at which the interrupt process is detected in the interrupt detection procedure; a process information acquisition procedure of acquiring identification information for identifying a process executed on the processor from the operating system immediately before the interrupt process is detected in the interrupt detection procedure; and an associating procedure of associating the counter value acquired at the time of the interrupt process in the counter value acquisition procedure with the identification information acquired in the process information acquisition procedure immediately before the interrupt process; wherein the associating procedure includes accumulating the counter value acquired in the counter value acquisition procedure for each process corresponding to the to the information acquired in the process information acquisition procedure, and the associating procedure further includes adding the counter value acquired in the counter value acquisition procedure to a counter value that is stored in a memory and is corresponding to the identification information acquired at the time when a previous interrupt process is generated.
6. The performance monitoring method according to claim 5 , further comprising: a specifying information acquisition procedure of acquiring specifying information for specifying a monitoring target process, wherein the counter value acquisition procedure acquires a counter value of the predetermined event counted only with respect to a process corresponding to the specifying information acquired in the specifying information acquisition procedure on the basis of the identification information acquired in the process information acquisition procedure.
7. The performance monitoring method according to claim 5 , wherein the counter value acquisition procedure and the process information acquisition procedure respectively acquire the counter value and information regarding a process at predetermined intervals.
8. The performance monitoring method according to claim 5 , further comprising: a switch determination procedure of determining whether a process corresponding to the information acquired in the process information acquisition procedure is different between before and after the interrupt process detected in the interrupt detection procedure, wherein the process information acquisition procedure acquires information regarding the process that will be executed immediately after the interrupt process when it is determined in the switch determination procedure that the process is different between before and after the interrupt process.
9. A performance monitoring device comprising: an interrupt detection unit that detects generation of an interrupt process to be executed by a processor in accordance with TLB entry invalidation executed in an operating system; a counter value acquisition unit that acquires a counter value of a predetermined event counted by the processor at a timing at which the interrupt process is detected by the interrupt detection unit; a process information acquisition unit that acquires identification information for identifying a process executed on the processor from the operating system immediately before the interrupt process is detected by the interrupt detection unit; and an associating unit that associates the counter value acquired at the time of the interrupt process by the counter value acquisition unit with the identification information acquired by the process information acquisition unit immediately before the interrupt process; wherein the associating unit accumulates the counter value acquired in the counter value acquisition procedure for each process corresponding to the information acquired in the process information acquisition procedure storing in a memory: and the associating unit further includes adding the counter value acquired in the counter value acquisition unit to a counter value that is stored in a memory and is corresponding to the identification information acquired at the time when a previous interrupt process is generated.
10. The performance monitoring device according to claim 9 , further comprising: a specifying information acquisition unit that acquires specifying information for specifying a monitoring target process, wherein the counter value acquisition unit acquires a counter value of the predetermined event counted only with respect to a process corresponding to the specifying information acquired by the specifying information acquisition unit on the basis of the identification information acquired by the process information acquisition unit.
11. The performance monitoring device according to claim 9 , wherein the counter value acquisition unit and the process information acquisition unit respectively acquire the counter value and information regarding a process at predetermined intervals.
12. The performance monitoring device according to claim 9 , further comprising: a switch determination unit that determines whether a process corresponding to the information acquired by the process information acquisition unit is different between before and after the interrupt process detected by the interrupt detection unit, wherein the process information acquisition unit acquires information regarding the process that will be executed immediately after the interrupt process when the switch determination unit determines that the process is different between before and after the interrupt process.
Unknown
July 3, 2012
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.