casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Static Private Attributes
gprof2dot.OprofileParser Class Reference
Inheritance diagram for gprof2dot.OprofileParser:
gprof2dot.LineParser gprof2dot.Parser

List of all members.

Public Member Functions

def __init__
def add_entry
def update_subentries_dict
def parse
def parse_header
def parse_entry
def parse_subentries
def parse_subentry
def skip_separator
def match_header
def match_separator
def match_primary
def match_secondary

Public Attributes

 entries
 entry_re

Static Private Attributes

dictionary _fields_re

Detailed Description

Parser for oprofile callgraph output.

See also:
- http://oprofile.sourceforge.net/doc/opreport.html#opreport-callgraph

Definition at line 1023 of file gprof2dot.py.


Constructor & Destructor Documentation

def gprof2dot.OprofileParser.__init__ (   self,
  infile 
)

Reimplemented from gprof2dot.LineParser.

Definition at line 1039 of file gprof2dot.py.


Member Function Documentation

def gprof2dot.OprofileParser.add_entry (   self,
  callers,
  function,
  callees 
)

Definition at line 1174 of file gprof2dot.py.

References gprof2dot.LineParser.lookahead().

Referenced by gprof2dot.OprofileParser.parse_header().

Definition at line 1182 of file gprof2dot.py.

References gprof2dot.LineParser.lookahead().

Referenced by gprof2dot.OprofileParser.parse_entry().

Definition at line 1178 of file gprof2dot.py.

References gprof2dot.LineParser.lookahead().

Referenced by gprof2dot.OprofileParser.skip_separator().

def gprof2dot.OprofileParser.update_subentries_dict (   self,
  totals,
  partials 
)

Definition at line 1055 of file gprof2dot.py.

Referenced by gprof2dot.OprofileParser.add_entry().


Member Data Documentation

dictionary gprof2dot.OprofileParser._fields_re [static, private]

Definition at line 1030 of file gprof2dot.py.

Referenced by gprof2dot.OprofileParser.parse_header().

Definition at line 1042 of file gprof2dot.py.

Referenced by gprof2dot.OprofileParser.parse_header().


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