src/pylib/Lib/time_impl/measures

Search:
Group by:
Source   Edit  

Hint: all functions are pretended as noSideEffect pramga, as I myself doesn't think noSideEffect means pure function, but pure function is must noSideEffect, the opposite is not true. However, Nim manual seems to mixin them.

Procs

func monotonic(): float {....raises: [], tags: [TimeEffect], forbids: [].}
Source   Edit  
func monotonic_ns(): int64 {....raises: [], tags: [TimeEffect], forbids: [].}
Source   Edit  
func perf_counter(): float {....raises: [], tags: [TimeEffect], forbids: [].}
Source   Edit  
func perf_counter_ns(): int64 {....raises: [], tags: [TimeEffect], forbids: [].}
Source   Edit  
func process_time(): float {....raises: [], tags: [TimeEffect], forbids: [].}
not available for JS backend, currently. Source   Edit  
func time(): float {....raises: [], tags: [TimeEffect], forbids: [].}
Source   Edit  
func time_ns(): int64 {....raises: [], tags: [TimeEffect], forbids: [].}
Source   Edit