Skip to content

Commit d0fadb4

Browse files
committed
Run ocamlformat
1 parent eac3f54 commit d0fadb4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

lib/olly_common/launch.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ let empty_config =
126126
cleanup = (fun () -> ());
127127
poll_sleep = 0.1 (* Poll at 10Hz *);
128128
runtime_events_dir = None (* Use default tmp directory *);
129-
runtime_events_log_wsize = None; (* Use default size 16. *)
129+
runtime_events_log_wsize = None;
130+
(* Use default size 16. *)
130131
}
131132

132133
let olly config exec_args =

lib/olly_gc_stats/olly_gc_stats.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ let domain_elapsed_times = Array.make number_domains 0.
1414
let domain_gc_times = Array.make number_domains 0
1515
let domain_minor_words = Array.make number_domains 0
1616
let domain_promoted_words = Array.make number_domains 0
17+
1718
(* let domain_major_words = Array.make number_domains 0 *)
1819
let minor_collections = ref 0
1920
let major_collections = ref 0
@@ -157,15 +158,15 @@ let print_percentiles json output hist =
157158
promoted_words :=
158159
!promoted_words +. float_of_int domain_promoted_words.(i))
159160
domain_minor_words;
160-
Printf.fprintf oc "Total heap:\t %.0f\n"
161-
(!minor_words -. !promoted_words);
161+
Printf.fprintf oc "Total heap:\t %.0f\n" (!minor_words -. !promoted_words);
162162
(* Printf.fprintf oc "Total heap:\t %.0f\n" *)
163163
(* (!minor_words -. !promoted_words +. !major_words); *)
164164
Printf.fprintf oc "Minor heap:\t %.0f\n" !minor_words;
165165
(* Printf.fprintf oc "Major heap:\t %.0f\n" !major_words; *)
166166
Printf.fprintf oc "Promoted words:\t %.0f (%.2f%%)\n" !promoted_words
167167
(!promoted_words /. !minor_words *. 100.0);
168168
Printf.fprintf oc "\n";
169+
169170
(* Printf.fprintf oc "Per domain stats: \n"; *)
170171
(* let data = *)
171172
(* ref [ [ "Domain"; "Total"; "Minor"; "Promoted"; "Major"; "Promoted(%)" ] ] *)

0 commit comments

Comments
 (0)