func new(sec, nsec):Creates a new time instant
nsecnanoseconds since the local epoch.
func current():Returns the current system time as an
Instant. This function returns conventional
func current_mono():Returns the current system time as an
Instant. This function guarantees to always return a monotonically increasing value; it is useful for timing purposes, as it is not skewed to reflect the realities of the outside world. Note: not all platforms support this functionality (e.g. OS X), in which case the value returned will be the same as
cvd_to_html ©2006-2007 Laurence Tratt