ClickHouse/dbms/include/DB/Common/randomSeed.h

7 lines
142 B
C++
Raw Normal View History

2016-07-31 03:53:16 +00:00
#pragma once
#include <cstdint>
/** Returns a number suitable as seed for PRNG. Use clock_gettime, pid and so on. */
uint64_t randomSeed();