Project

General

Profile

Bug #220

Incorrect results when profiling cmsRun

Added by Marc Paterno over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Start date:
01/25/2010
Due date:
% Done:

100%

Estimated time:
Spent time:
Duration:

Description

Running the profiler on cmsRun turns up a failure. For an input file that takes cmsRun about 5 minutes to process, the profiler only gets about 250 samples (slightly different number of samples each time). I do not understand the source of the problem. The total number of samples should be around 30,000 for a 5-mintue program run.

History

#1 Updated by Marc Paterno over 9 years ago

It appears that cmsRun may be masking the SIGPROF signal. Somehow, igprof is able to work with cmsRun.

#2 Updated by Ron Rechenmacher over 9 years ago

  • Status changed from New to Resolved
  • Estimated time set to 16.00 h

Had to add a pthread_sigmask override function to the preload library. This is the strick that igprof uses. It intercepts cmsRun's blocking of SIGPROF and does not allow it.

#3 Updated by Ron Rechenmacher over 9 years ago

  • % Done changed from 0 to 100
  • Estimated time deleted (16.00 h)

#4 Updated by Marc Paterno over 9 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF