The stats module contains the stats loop
More discussion!
The TimeOutput trait adds a .as_time() method to u64
.as_time()
u64