PYME.util.fProfile.convertProfile module

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

Build a multi-threaded call tree from profiling data

Parameters
dfpandas 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
infilestring

the input file name

outfilestring

the output file name

Returns