31 static uint64_t getUnixTimeStamp(
const std::time_t* t =
nullptr)
34 std::time_t st = t ==
nullptr ? std::time(
nullptr) : *t;
35 auto secs =
static_cast<std::chrono::seconds
>(st).count();
36 return static_cast<uint64_t
>(secs);
47 std::cerr <<
"DEBUG MISMATCH!" << std::endl;
54 rng = gsl_rng_alloc(gsl_rng_mt19937);
56 auto t = std::chrono::system_clock::now();
58 time_t tt =std::chrono::system_clock::to_time_t(t);
Class to hold the library version data.