YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
util.cpp File Reference
#include <fault/util.hpp>
Include dependency graph for util.cpp:

Go to the source code of this file.

Namespaces

namespace  yaclib
 
namespace  yaclib::detail
 

Functions

void yaclib::detail::SetSeed (std::uint32_t new_seed)
 
std::uint32_t yaclib::detail::GetSeed ()
 
std::uint64_t yaclib::detail::GetRandNumber (std::uint64_t max)
 
std::uint64_t yaclib::detail::GetRandCount ()
 
void yaclib::detail::ForwardToRandCount (std::uint64_t random_count)
 

Variables

static std::uint32_t yaclib::detail::sSeed = 1239
 
static thread_local std::mt19937_64 yaclib::detail::eng {sSeed}