1 2 3 4 5 6 7
#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();