![]() |
|
Class representing the thread counters. More...
#include <support_eddl.h>
Public Member Functions | |
ThreadCounters (int min, int max) | |
ThreadCounters (int counter, int min, int max) | |
void | Reset () |
Reset the thread counter to its minimum value. More... | |
Public Attributes | |
int | counter_ |
Index of the sample currently used by the thread. More... | |
int | min_ |
int | max_ |
Indices of samples managed by the thread in the interval [min_, max_). More... | |
Class representing the thread counters.
Each thread has its own indices to manage. The split samples have been assigned to several threads which manage them separately.
Definition at line 258 of file support_eddl.h.
|
inline |
Definition at line 264 of file support_eddl.h.
|
inline |
Definition at line 265 of file support_eddl.h.
|
inline |
Reset the thread counter to its minimum value.
Definition at line 266 of file support_eddl.h.
int ecvl::ThreadCounters::counter_ |
Index of the sample currently used by the thread.
Definition at line 261 of file support_eddl.h.
int ecvl::ThreadCounters::max_ |
Indices of samples managed by the thread in the interval [min_, max_).
Definition at line 262 of file support_eddl.h.
int ecvl::ThreadCounters::min_ |
Definition at line 262 of file support_eddl.h.