Class AstPerformance#

Inheritance Relationships#

Derived Type#

Class Documentation#

class AstPerformance#

Subclassed by TimingPerformance

Public Functions

AstPerformance(std::string s, bool outputReport = false)#
virtual ~AstPerformance()#
void generateReportFromObject() const#
void generateReportToFile(SgProject *project) const#

Public Members

ProcessingPhase *localData#
std::string label#
bool outputReportInDestructor#

Public Static Functions

static void set_project(SgProject *projectParameter)#
static void generateReport()#
static double performanceResolution()#
static int getLock()#
static void releaseLock(int fd)#
static void reportAccumulatedTime(const std::string &s, const double &accumulatedTime, const double &numberFunctionCalls)#
static void startTimer(RoseTimeType &time)#
static void accumulateTime(RoseTimeType &startTime, double &accumulatedTime, double &numberFunctionCalls)#

Public Static Attributes

static bool outputCompilationPerformance#
static SgProject *project#

Protected Static Attributes

static std::vector<ProcessingPhase*> data#
static std::list<AstPerformance*> performanceStack#