Monero
Classes | Namespaces | Typedefs
duration.h File Reference
#include <chrono>
#include "crypto/crypto.h"
Include dependency graph for duration.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  crypto::random_poisson_duration< D >
 Generate poisson distributed values in discrete D time units. More...
 

Namespaces

 crypto
 crypto namespace.
 

Typedefs

using crypto::random_poisson_seconds = random_poisson_duration< std::chrono::seconds >
 Generate random durations with 1 second precision. More...
 
using crypto::random_poisson_subseconds = random_poisson_duration< std::chrono::duration< std::chrono::milliseconds::rep, std::ratio< 1, 4 > >>
 Generate random duration with 1/4 second precision. More...