首页>
外国专利>
System and method for profiling code on symmetric multiprocessor architectures
System and method for profiling code on symmetric multiprocessor architectures
展开▼
机译:在对称多处理器体系结构上对代码进行性能分析的系统和方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
A profiler that accurately measures performance metrics for all threads executing a process on a SMP computer system. The profiler uses dynamic instrumentation to cause threads to sample performance metrics before and after certain code regions. In addition, the profiler uses extensions to a parallel support layer to register a parent thread with its child threads. Each thread stores the measured performance metric, or delta, in a memory cell or cells corresponding to its region and its parent region. When the process is complete, the profiler scans through the memory storage areas and sums the deltas for each particular level of code. Then, the results may be analyzed at the thread or process level. In this manner, the profiler can be adapted to work with any process executing on the computer system.
展开▼