#include <pydtn/GlobalStatistics.h>


Static Public Member Functions | |
| static void | enable () |
| Create an instance of the global statistical aggregator. | |
| static GlobalStatistics * | instance () |
| |
The instance() method indicates if there is global statistical accumulation. This is in contrast to most singleton classes, where instance() would create a new object. Instead, we use an explicit enable() method to bring the singleton instance into existence. This allows us to have or not have a GlobalStatistics aggregator, depending on run-time configuration.
Definition at line 48 of file GlobalStatistics.h.
1.5.4