import time
clk_id1 = time.CLOCK_REALTIME
clk_id2 = time.CLOCK_MONOTONIC
clk_id3 = time.CLOCK_MONOTONIC
clk_id4 = time.CLOCK_THREAD_CPUTIME_ID
clk_id5 = time.CLOCK_PROCESS_CPUTIME_ID
t1 = time.clock_gettime(clk_id1)
t2 = time.clock_gettime(clk_id2)
t3 = time.clock_gettime(clk_id3)
t4 = time.clock_gettime(clk_id4)
t5 = time.clock_gettime(clk_id5)
print("Value of system-wide real-time clock time:", t1)
print("Value of monotonic clock time:", t2)
print("Value of monotonic (raw-hardware based) clock time:", t3)
print("Value of thread-specific CPU time clock:", t4)
print("Value of per-process timer from the CPU:", t5)