+def get_clk_tck():
+ process = subprocess.Popen(['getconf', 'CLK_TCK'], shell=True, stdout=subprocess.PIPE)
+ if process.wait() != 0:
+ raise "getconf CLK_TCK failed"
+ return process[0]
+
+ #= 100 -> 1 tick = 1/100 seconds
+ # require libc-bin to be installed
+