File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff 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
132133let olly config exec_args =
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ let domain_elapsed_times = Array.make number_domains 0.
1414let domain_gc_times = Array. make number_domains 0
1515let domain_minor_words = Array. make number_domains 0
1616let domain_promoted_words = Array. make number_domains 0
17+
1718(* let domain_major_words = Array.make number_domains 0 *)
1819let minor_collections = ref 0
1920let 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(%)" ] ] *)
You can’t perform that action at this time.
0 commit comments