SST 12.1.0
Structural Simulation Toolkit
SST::Profile::ComponentCodeSegmentProfileToolCount Class Reference

Profile tool that will count the number of times a handler is called. More...

#include <componentProfileTool.h>

Inheritance diagram for SST::Profile::ComponentCodeSegmentProfileToolCount:
SST::Profile::ComponentCodeSegmentProfileTool SST::Profile::ComponentProfileTool SST::Profile::ProfileTool

Public Member Functions

uintptr_t registerProfilePoint (const std::string &point, ComponentId_t id, const std::string &name, const std::string &type) override
 
void codeSegmentStart (uintptr_t key) override
 
void outputData (FILE *fp) override
 
- Public Member Functions inherited from SST::Profile::ComponentCodeSegmentProfileTool
 ComponentCodeSegmentProfileTool (const std::string &name, Params &params)
 
virtual void codeSegmentStart (uintptr_t UNUSED(key))
 
virtual void codeSegmentEnd (uintptr_t UNUSED(key))
 
- Public Member Functions inherited from SST::Profile::ComponentProfileTool
 SST_ELI_DOCUMENT_PARAMS ({ "level", "Level at which to track profile (global, type, component, subcomponent)", "type" }, { "track_points", "Determines whether independent profiling points are tracked", "true" },) enum class Profile_Level
 
 ComponentProfileTool (const std::string &name, Params &params)
 
virtual uintptr_t registerProfilePoint (const std::string &point, ComponentId_t id, const std::string &name, const std::string &type)=0
 
std::string getKeyForCodeSegment (const std::string &point, ComponentId_t id, const std::string &name, const std::string &type)
 
- Public Member Functions inherited from SST::Profile::ProfileTool
std::string getName ()
 
virtual void outputData (FILE *fp)=0
 

Additional Inherited Members

- Protected Attributes inherited from SST::Profile::ComponentProfileTool
Profile_Level profile_level_
 
- Protected Attributes inherited from SST::Profile::ProfileTool
const std::string name
 

Detailed Description

Profile tool that will count the number of times a handler is called.

Member Function Documentation

◆ outputData()

void SST::Profile::ComponentCodeSegmentProfileToolCount::outputData ( FILE *  fp)
overridevirtual

◆ registerProfilePoint()

uintptr_t SST::Profile::ComponentCodeSegmentProfileToolCount::registerProfilePoint ( const std::string &  point,
ComponentId_t  id,
const std::string &  name,
const std::string &  type 
)
overridevirtual

The documentation for this class was generated from the following files: