ClickHouse/src/Common/randomSeed.h
2021-10-02 10:13:14 +03:00

8 lines
168 B
C++

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