![]() |
|
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 271 of file support_eddl.h.
|
inline |
Definition at line 277 of file support_eddl.h.
|
inline |
Definition at line 278 of file support_eddl.h.
|
inline |
Reset the thread counter to its minimum value.
Definition at line 279 of file support_eddl.h.
int ecvl::ThreadCounters::counter_ |
Index of the sample currently used by the thread.
Definition at line 274 of file support_eddl.h.
int ecvl::ThreadCounters::max_ |
Indices of samples managed by the thread in the interval [min_, max_).
Definition at line 275 of file support_eddl.h.
int ecvl::ThreadCounters::min_ |
Definition at line 275 of file support_eddl.h.