ClickHouse/dbms/include/DB/Common/randomSeed.h
2016-07-31 06:53:16 +03:00

7 lines
142 B
C++

#pragma once
#include <cstdint>
/** Returns a number suitable as seed for PRNG. Use clock_gettime, pid and so on. */
uint64_t randomSeed();