Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
3Rafal committed Dec 5, 2023
1 parent ed8e7d1 commit 4ba3462
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kernel/mpipeline.ml
Original file line number Diff line number Diff line change
Expand Up @@ -360,5 +360,6 @@ let cache_information t =
let fmt_file (filename, hit) = (filename, fmt_bool hit) in
let cmt = ("cmt", List.map ~f:fmt_file (Cmt_cache.get_cache_stats ())) in
let cmi = ("cmi", List.map ~f:fmt_file (Cmi_cache.get_cache_stats ())) in
let () = Cmt_cache.clear_cache_stats (); Cmi_cache.clear_cache_stats () in
Cmt_cache.clear_cache_stats ();
Cmi_cache.clear_cache_stats ();
[phase; cmt; cmi]

0 comments on commit 4ba3462

Please sign in to comment.