ソースを参照

use more precise timer

Nicolas Cannasse 13 年 前
コミット
ff46d2581b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      common.ml

+ 1 - 1
common.ml

@@ -241,7 +241,7 @@ type timer_infos = {
 	mutable total : float;
 }
 
-let get_time = Unix.gettimeofday
+let get_time = Extc.cpu_time
 let htimers = Hashtbl.create 0
 
 let new_timer name =