Ehelper.Timer (Ehelper v0.2.8)

View Source

# {:erlang.timestamp(), :os.timestamp()}

:timer.now_diff(t2, t1)

Summary

Functions

pos_integer() | second | millisecond | microsecond | nanosecond | native | perf_counter | erlang:convert_time_unit(1, second, native) default microsecond

Functions

tc(fun, args \\ [], opts \\ [])

pos_integer() | second | millisecond | microsecond | nanosecond | native | perf_counter | erlang:convert_time_unit(1, second, native) default microsecond

test(opts \\ [])