Class AstNodeStatistics#

Class Documentation#

class AstNodeStatistics#

Statistics about IR nodes used.

This class contains a number of static functions which can be called (return strings) to report on the fequency, memory usage, etc. of IR nodes.

Public Static Functions

static std::string traversalStatistics(SgNode *node)#

This outputs the types and count of IR nodes used in a traversal of the input file (excluding header files)

static std::string IRnodeUsageStatistics()#

This outputs the types, counts, and memory useage of IR nodes appearing in the memory pools (whole AST).