Added elapsed(TimeUnit), used to return specific duration of time rather than the default nanoseconds