RetroArch
|
#include <backoff.h>
Public Member Functions | |
double | rand01 () |
Backoff (int64_t min, int64_t max) | |
void | reset () |
int64_t | nextDelay () |
Public Attributes | |
int64_t | minAmount |
int64_t | maxAmount |
int64_t | current |
int | fails |
std::mt19937_64 | randGenerator |
std::uniform_real_distribution | randDistribution |
|
inline |
|
inline |
|
inline |
int64_t Backoff::current |
int Backoff::fails |
int64_t Backoff::maxAmount |
int64_t Backoff::minAmount |
std::uniform_real_distribution Backoff::randDistribution |
std::mt19937_64 Backoff::randGenerator |