Patent Number: 6,401,240

Title: System and method for profiling code on symmetric multiprocessorarchitectures

Abstract: A profiler that accurately measures performance metrics for all threadsexecuting a process on a SMP computer system. The profiler uses dynamicinstrumentation to cause threads to sample performance metrics before andafter certain code regions. In addition, the profiler uses extensions to aparallel support layer to register a parent thread with its child threads.Each thread stores the measured performance metric, or delta, in a memorycell or cells corresponding to its region and its parent region. When theprocess is complete, the profiler scans through the memory storage areasand sums the deltas for each particular level of code. Then, the resultsmay be analyzed at the thread or process level. In this manner, theprofiler can be adapted to work with any process executing on the computersystem.

Inventors: Summers; Chuck (Plano, TX)


International Classification: G06F 11/34 (20060101); G06F 009/45 ()

Expiration Date: 06/04/2014