HPCToolkit
lushpp Namespace Reference

Classes

class  CilkMgr
 
class  CppMgr
 
class  FatalError
 
class  REDesc
 
class  UsageExcept
 

Functions

def main (argv=None)
 
def processCmdLine (ovars, opts, args)
 
def parseCmdLine (argv, shortOpts, longOpts)
 
def openInFile (filenm)
 
def closeFile (filenm, stream)
 
def processFile (filenm)
 

Variables

bool DBG = False
 
 the_program = sys.argv[0];
 
tuple the_usage
 
string the_shortOpts = "o:vhd"
 
tuple the_longOpts
 
dictionary CilkOverhead
 

Function Documentation

◆ closeFile()

def lushpp.closeFile (   filenm,
  stream 
)

Definition at line 139 of file lushpp.py.

Here is the caller graph for this function:

◆ main()

def lushpp.main (   argv = None)

Definition at line 60 of file lushpp.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openInFile()

def lushpp.openInFile (   filenm)
Given a filename 'filenm', return an input stream.  If 'filenm'
is NULL, return stdin; otherwise open the file.

Definition at line 126 of file lushpp.py.

Here is the caller graph for this function:

◆ parseCmdLine()

def lushpp.parseCmdLine (   argv,
  shortOpts,
  longOpts 
)
Given the inputs for getopt, return the parsed argv line as a
(dictionary-of-options, rest-of-arguments) tuple.  Note that argv
should contain the full command line

Definition at line 109 of file lushpp.py.

Here is the caller graph for this function:

◆ processCmdLine()

def lushpp.processCmdLine (   ovars,
  opts,
  args 
)
Given the results of parseCmdLine(), populate the 'ovars' dict
for this main routine.

Definition at line 88 of file lushpp.py.

Here is the caller graph for this function:

◆ processFile()

def lushpp.processFile (   filenm)
...

Definition at line 320 of file lushpp.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ CilkOverhead

dictionary lushpp.CilkOverhead

Definition at line 145 of file lushpp.py.

◆ DBG

bool lushpp.DBG = False

Definition at line 13 of file lushpp.py.

◆ the_longOpts

tuple lushpp.the_longOpts
Initial value:
1 = ("output-file=",
2  "verbose", "help", "debug")

Definition at line 32 of file lushpp.py.

◆ the_program

lushpp.the_program = sys.argv[0];

Definition at line 17 of file lushpp.py.

◆ the_shortOpts

string lushpp.the_shortOpts = "o:vhd"

Definition at line 31 of file lushpp.py.

◆ the_usage

tuple lushpp.the_usage
Initial value:
1 = (
2 ) % (the_program, the_program)

Definition at line 18 of file lushpp.py.