|
Fawkes API
Fawkes Development Version
|
Simple TimeTracker MainLoop plugin. More...
#include <ttmainloop_plugin.h>
Public Member Functions | |
| TimeTrackerMainLoopPlugin (fawkes::Configuration *config) | |
| Constructor. More... | |
Public Member Functions inherited from fawkes::Plugin | |
| Plugin (Configuration *config) | |
| Constructor. More... | |
| virtual | ~Plugin () |
| Virtual destructor. More... | |
| void | set_name (const char *name) |
| Set plugin name. More... | |
| const char * | name () const |
| Get the name of the plugin. More... | |
| ThreadList & | threads () |
| Get a list of threads. More... | |
| virtual bool | persistent () |
| Determines if the plugin can be unloaded. More... | |
Additional Inherited Members | |
Protected Attributes inherited from fawkes::Plugin | |
| ThreadList | thread_list |
| Thread list member. More... | |
| Configuration * | config |
| Fawkes configuration. More... | |
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. More... | |
| typedef void(* | PluginDestroyFunc) (Plugin *plugin) |
| Plugin destructor function for the shared library. More... | |
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.