ClickHouse/src/Common/randomSeed.h

8 lines
168 B
C++
Raw Normal View History

2016-07-31 03:53:16 +00:00
#pragma once
#include <cstdint>
2021-10-02 07:13:14 +00:00
#include <base/types.h>
2016-07-31 03:53:16 +00:00
/** Returns a number suitable as seed for PRNG. Use clock_gettime, pid and so on. */
DB::UInt64 randomSeed();