Namespace for helpers and utilities, which are not directly related to image processing. More...
Namespaces | |
namespace | SystemInfo |
Namespace for helper functions related to system or CVB installation information. | |
Classes | |
class | RateCounter |
Frame rate measurement counter with selectable averaging window. More... | |
class | StopWatch |
Speed measurement object. More... | |
Typedefs | |
using | StopWatchPtr = std::shared_ptr< StopWatch > |
Convenience shared pointer for StopWatch. | |
using | RateCounterPtr = std::shared_ptr< RateCounter > |
Convenience shared pointer for RateCounter. | |
Enumerations | |
enum class | StopWatchMode { MultiCPU , SingleCPU } |
Mode at which the StopWatch should work. More... | |
Namespace for helpers and utilities, which are not directly related to image processing.
|
strong |
Mode at which the StopWatch should work.
Enumerator | |
---|---|
MultiCPU | The StopWatch works safe in multi-CPU environments. For that, some degree of accuracy is lost, because under Windows the timers, that are safe to use on a multi-CPU system, are limited to 1 ms granularity. |
SingleCPU | The StopWatch works with a granularity of less than 1 ms (basically with what the Windows SDK function QueryPerformanceFrequency returns). However, a time generated with this mode will not be safe to use in a multi-CPU (not multi-core!) environment because, a thread may travel between CPUs and the timers are not synchronized between CPUs. |