Function frame_benchmarking::benchmarking::current_time[][src]

pub fn current_time() -> u128

Get the number of nanoseconds passed since the UNIX epoch

WARNING! This is a non-deterministic call. Do not use this within consensus critical logic.