|
Fawkes API
Fawkes Development Version
|
Simple TimeTracker MainLoop plugin. More...
#include <ttmainloop_plugin.h>
Public Member Functions | |
| TimeTrackerMainLoopPlugin (fawkes::Configuration *config) | |
| Constructor. | |
Public Member Functions inherited from fawkes::Plugin | |
| Plugin (Configuration *config) | |
| Constructor. | |
| virtual | ~Plugin () |
| Virtual destructor. | |
| void | set_name (const char *name) |
| Set plugin name. | |
| const char * | name () const |
| Get the name of the plugin. | |
| ThreadList & | threads () |
| Get a list of threads. | |
| virtual bool | persistent () |
| Determines if the plugin can be unloaded. | |
Additional Inherited Members | |
Protected Attributes inherited from fawkes::Plugin | |
| ThreadList | thread_list |
| Thread list member. | |
| Configuration * | config |
| Fawkes configuration. | |
Related Functions inherited from fawkes::Plugin | |
| typedef Plugin *(* | PluginFactoryFunc )(fawkes::Configuration *) |
| Plugin loader function for the shared library Do not use directly, rather use the EXPORT_PLUGIN macro. | |
| typedef void(* | PluginDestroyFunc )(Plugin *plugin) |
| Plugin destructor function for the shared library. | |
Simple TimeTracker MainLoop plugin.
This plugin facilitates the Fawkes TimeTracker main loop plugin. It provides a main loop similar to the default main loop but augmented with a TimeTracker, that measures the runtime of the different blocked timing hook execution.
Definition at line 28 of file ttmainloop_plugin.h.
| TimeTrackerMainLoopPlugin::TimeTrackerMainLoopPlugin | ( | fawkes::Configuration * | config | ) |
Constructor.
| config | Fawkes configuration |
Definition at line 39 of file ttmainloop_plugin.cpp.
References fawkes::ThreadList::push_back(), and fawkes::Plugin::thread_list.