ClickHouse/src/Common/randomSeed.h
2020-09-15 12:55:57 +03:00

8 lines
170 B
C++

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