|
MasterScan
Lab_Matlab_control Master Branch
|
Graphs output from the Matlab profiler with the Graphviz tool.
@ details ProfilerGrapher evaluates a given "toDo" expression under the Matlab profiler and gathers function call data. It confugures a DataGrapher to graph which functions called which, and how many times.

Properties and Events | |
| Property | toDo = '' |
| string, a Matlab expression to eval() under the Matlab profiler | |
| Property | profilerInfo |
| output from the Matlab profiler | |
| Property | ignoredPaths = {} |
| cell array of strings of absolute paths containing functions to ignore | |
| Property | includePaths = {} |
| cell array of strings of absolute paths containing the only functions to include | |
| Property | dataGrapher |
| a DataGrapher object for graphing the profiler output | |
Methods | |
| self | ProfilerGrapher () |
| Constructor takes no arguments. | |
| run (self) | |
| Generate profiler data with the given toDo expression. | |
| info | appplyFunctionFilter (self, info) |
| Filter graphed functions based on includePaths and ignoredPaths. | |
| writeDotFile (self) | |
| Write a GraphViz ".dot" file that represents filtered profiler output. More... | |
| generateGraph (self) | |
| Generate a graph image from the GraphViz ".dot" file. | |
Static Methods | |
| static nodeName | shortNameWithType (inputData, index) |
| Make a string which summarizes a function and its type. | |
| static description | totalCallsAndTime (inputData, index) |
| Make a string which summarizes a functions's usage. | |
| static edgeIndexes edgeNames | edgeFromChildren (inputData, index) |
| Find graph edges corresponding to a function's children. | |
| static shortName | getShortFunctionName (longName) |
| Clean up and shorten long, fully-qualified function names. | |
| writeDotFile | ( | self | ) |
Write a GraphViz ".dot" file that represents filtered profiler output.
1.8.15