Skip to content

AstNodeStatistics

Statistics about IR nodes used.

Synopsis

Declared in <src/midend/astDiagnostics/AstStatistics.h>

Static Member Functions

Name

Description

IRnodeUsageStatistics

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

traversalStatistics

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

Description

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.

These functions are implemented using a range of traversals
  supported by ROSE for either traversing a specified subtree of the AST, the
  memory pools using to hold the AST, or traversals of representative IR nodes
  (visits one type or IR node only in the AST).

Created with MrDocs