12345678910111213141516171819202122232425262728293031323334open!CoremoduleIncr=Ui_incrmoduleTimeable_event=struct(** These are fairly arbitrary, and are subject to change. *)typet=(* Startup *)|Graph_application|Preprocess|Gather|Run_eval_fun|First_stabilization(* Per-frame *)|Stabilize_for_clock|Apply_actions|Stabilize_for_action|Stabilize_after_all_apply_actions(* When profiling *)|Profiling_entryofstringend(* It's important that this is a function, not a global, because we want to create
separate incremental nodes for each test handle / driver creation. *)letdefault_for_test_handles()={Bonsai.Private.Instrumentation.Config.instrument_for_computation_watcher=Incr.returnBonsai.Private.Instrumentation.Watching.Not_watching;instrument_for_profiling=Incr.returnBonsai.Private.Instrumentation.Profiling.Not_profiling;set_latest_graph_info=(fun_->());computation_watcher_queue=Queue.create();start_timer=(fun_->());stop_timer=(fun()->())};;