PYME.util.fProfile.convertProfile module

PYME.util.fProfile.convertProfile.build_call_tree_threads(df)

Build a multi-threaded call tree from profiling data

Parameters:

df : pandas DataFrame

data frame with profile data

Returns:

dictionary containing the call stack and thread names

PYME.util.fProfile.convertProfile.convert(infile='prof_spool.txt', outfile='prof_spool.json')

Convert a profile file as generated by the fProfile module into the json format required by the viewer

Parameters:

infile : string

the input file name

outfile : string

the output file name