- get_clock_info() is a python function which get the clock info of the monotonic,process_time etc.
Syntax-
time.get_clock_info(clock)
program-
import time
names = ['time', 'monotonic', 'perf_counter', 'process_time']
for n in names:
info = time.get_clock_info(n)
print(info)
namespace(adjustable=True, implementation='GetSystemTimeAsFileTime()', monotonic=False, resolution=0.015625)
namespace(adjustable=False, implementation='GetTickCount64()', monotonic=True, resolution=0.015625)
namespace(adjustable=False, implementation='QueryPerformanceCounter()', monotonic=True, resolution=5.131857958382684e-07)
namespace(adjustable=False, implementation='GetProcessTimes()', monotonic=True, resolution=1e-07)