On Saturday, 13 February 2016 at 19:24:44 UTC, ishwar wrote:
I am stumped on need finding interval between two events in a program execution in nanoseconds. Any sample code will be appreciated (along with imports needed to make it work):
- time in nanoseconds-now
- do-some processing
- time in nano-second-now

Thanks

use a StopWatch:

http://dlang.org/phobos/std_datetime.html#.StopWatch

Reply via email to