Write out DOT file for calling hierarchy. More...
#include <internal_result.h>
Inherits ProfileResultInterface.
Public Types | |
| enum | { MAX_FUNCTIONS_PER_FILE = 200 } |
Public Member Functions | |
| virtual const char * | GetName (void) const |
| virtual void | WriteResults (void) |
| Write out results. | |
| virtual void | Delete (void) |
| Destroys the current result function. | |
Static Public Member Functions | |
| static ProfileResultInterface * | Create (int argn, const char *const *) |
| Creates a class instance. | |
Additional Inherited Members | |
Protected Member Functions inherited from ProfileResultInterface | |
| ProfileResultInterface (void) | |
Write out DOT file for calling hierarchy.
The frame name and the file name must be specified when creating an instance of this result function. The result function will always pick the thread with the highest function count (which is usually the main thread).
Definition at line 60 of file internal_result.h.
| anonymous enum |
| Enumerator | |
|---|---|
| MAX_FUNCTIONS_PER_FILE | |
Definition at line 63 of file internal_result.h.
|
static |
Creates a class instance.
| fileName | name of DOT file to generate (defaults to profile.dot) |
| frameName | name of frame to use (NULL for global) |
| foldThreshold | if the number of functions exceeds the given threshold then all functions belonging to the same source file will be folded into a single entry |
Definition at line 142 of file profile_result.cpp.
|
virtual |
Destroys the current result function.
Use this function instead of just delete'ing the instance.
Implements ProfileResultInterface.
Definition at line 300 of file profile_result.cpp.
|
inlinevirtual |
Definition at line 80 of file internal_result.h.
|
virtual |
Write out results.
This function is called on program exit.
Implements ProfileResultInterface.
Definition at line 166 of file profile_result.cpp.