摘要 |
PROBLEM TO BE SOLVED: To acquire fine profiling information by instruction units under an OS environment, and to acquire only the profiling information of a profiling object program (including shared library) under an OS environment equipped with a virtual storage mechanism. SOLUTION: A computer system is provided with a profiling object program 1, OS 2, and processor 3. A profiling object application program 11 and a profile acquisition function library 12 for collecting sampling information are started by the same process. Each time interruption occurs from an incorporated timer 15 of the processor 3, the value of a program counter 16 or the value of a hardware counter 17 are collected by a profile acquisition driver 13 preliminarily integrated in the OS 2. When a plurality of processes are executed on the virtual storage system, the sampling information is collected when the profiling object process is executed during the occurrence of interruption. COPYRIGHT: (C)2010,JPO&INPIT |