摘要 |
PROBLEM TO BE SOLVED: To acquire the parallel execution time of each parallel program even when a plurality of the parallel programs are executed on a multiprocessor computer. SOLUTION: When a thread is generated in a processor of a processor 100-n's own (1≤n≤N) and the thread is the first one in a process, the processor 100-n generates a parallel execution time table 202 peculiar to the above process on a main storage device 200. When the processor 100-n allocates the processor of its own to the thread in the process and when the processor 100-n gets back the processor of its own from the thread in the process, the processor 10-n updates the parallel execution time table 202 on the basis of a current time which a system timer 205 shows; a time when the parallel execution time table is updated, which a time stamp 204 shows; the number of the threads which a parallel counter 203 shows; and the contents of the parallel execution time table 202. The thread acquires the contents of the parallel execution time table 202 by means of a parallel execution time acquisition system call. COPYRIGHT: (C)2004,JPO
|