CMS 3D CMS Logo

Package PerfTools/Callgrind
Source code (CVS tag: @CVS_TAG@) - Administrative privileges

Description

This Package contains a service ProfilerService and two analyzer modules StartProfilerAnalyzer and StopProfilerAnalyzer that allow to instrument only some portion of a cmsRun with performance measurument tools. At the moment only callgrind is supported. Extending it to other tools such as IgProf is easy.

Public interface

  • ProfilerService: provides a public interface mainly for the Start and Stop ProfilerAnalyzers. It can be used by other modules and services though...

Modules

No set of parameters required

Services

Parameter Set

untracked int32 firstEvent
untracked int32 lastEvent
untracked vstring paths

Unit tests and examples

  • testPerfToolsCallgrind: a unit test of public and internal API of the ProfilerService
  • test.cfg: integration test of Service and Analyzers

Status and planned development

Service and Analyzer Completed
One may need to add some addional control in case a StopAnalyzer is not called: for the time being the instrumentation is forced to stop at the end of each event.
The Service may be extended to tools other than callgrind such as IgProf


Last updated: @DATE@ Author: Vincenzo Innocente.