Public Member Functions | Public Attributes | List of all members
ecvl::ThreadCounters Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ThreadCounters() [1/2]

ecvl::ThreadCounters::ThreadCounters ( int  min,
int  max 
)
inline

Definition at line 264 of file support_eddl.h.

◆ ThreadCounters() [2/2]

ecvl::ThreadCounters::ThreadCounters ( int  counter,
int  min,
int  max 
)
inline

Definition at line 265 of file support_eddl.h.

Member Function Documentation

◆ Reset()

void ecvl::ThreadCounters::Reset ( )
inline

Reset the thread counter to its minimum value.

Definition at line 266 of file support_eddl.h.

Member Data Documentation

◆ counter_

int ecvl::ThreadCounters::counter_

Index of the sample currently used by the thread.

Definition at line 261 of file support_eddl.h.

◆ max_

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.

◆ min_

int ecvl::ThreadCounters::min_

Definition at line 262 of file support_eddl.h.


The documentation for this class was generated from the following file: