A multiprocessor system includes a plurality of processor modules having a
detector for detecting accesses by respective tasks to data shared among
cache memories in the processor modules. Also included is a storage
device for storing an address of the shared data, identification
information of the tasks that accessed the shared data, and the number of
accesses to the same shared data by the same task.