| nanosecond | |
|---|---|
| Unit system | SI |
| Unit of | time |
| Symbol | ns |
| Conversions | |
| 1 nsin ... | ... is equal to ... |
| SI units | 10−9 s |
Ananosecond (ns) is a unit oftime in theInternational System of Units (SI) equal to one billionth of asecond, that is,1/1000000000 of a second, or10−9 seconds.
The term combines theSI prefixnano- indicating a 1 billionth submultiple of an SI unit (e.g. nanogram,nanometre, etc.) andsecond, the primary unit of time in the SI.
A nanosecond is to one second, as one second is to approximately 31.69 years.
A nanosecond is equal to 1000 picoseconds or1/1000 microsecond. Time units ranging between 10−8 and 10−7 seconds are typically expressed as tens or hundreds of nanoseconds.
Time units of this granularity are commonly found intelecommunications, pulsedlasers, and related aspects ofelectronics.
time.Now() now gets real nanosecond resolution on supported systems
The default time.Time type represents an instant in time with nanosecond precision