Hacker News new | ask | show | jobs
by krenel 2309 days ago
In Python:

  import time 
  time.get_clock_info(name)

where name can be one of those:

  'monotonic': time.monotonic()
  'perf_counter': time.perf_counter()
  'process_time': time.process_time()
  'thread_time': time.thread_time()
  'time': time.time()