The source code of this class is located at BaseCollector.hpp.
BaseCollector is the base class for the collector.
- The collector should be able to reset the state to it's initial state
- The collector should support enabling and disabling collection
- The collector should support collecting performance data for the specified timeout period
- The collector should return different data each time
collect
is called - The collector should not know there is a class called Profiler
Reset the state to it's initial state.
Enable performance data collection.
Collect performance data for the specified timeout period.
Disable performance data collection.