parameters: (fname)
docstring: Read the statistics from the file. Return a dict with keys "timers", "counters"
docstring_summary: Read the statistics from the file. Return a dict with keys "timers", "counters"
docstring_tokens: Read the statistics from the file . Return a dict with keys timers counters
function: def readFile(fname):
      """Read the statistics from the file. Return a dict with keys "timers", "counters" """
      res = {}
      try:
          with open(fname) as f:
              res["timers"]   = readTimers(f)
              res["counters"] = readCounters(f)
              return res
      except (OSError, IOError):
          print "Cannot open " + fname
          return None
function_tokens: def readFile ( fname ) : res = { } try : with open ( fname ) as f : res [ "timers" ] = readTimers ( f ) res [ "counters" ] = readCounters ( f ) return res except ( OSError , IOError ) : print "Cannot open " + fname return None