![]() |
VOOZH | about |
Python time.perf_counter_ns() function gives the integer value of time in nanoseconds.
Syntax:
from time import perf_counter_ns
We can find the elapsed time by using start and stop functions. We can also find the elapsed time during the whole program by subtracting stoptime and starttime
Example 1:
Output:
👁 ImageExample 2: