Module Require_explicit_time_source.Async_kernel_scheduler
include module type of sig ... end
type 'a with_options= ?monitor:Async_kernel.Monitor.t -> ?priority:Async_kernel.Priority.t -> 'a
val current_execution_context : unit -> Async_kernel.Execution_context.tval within_context : Async_kernel.Execution_context.t -> (unit -> 'a) -> ('a, unit) Core_kernel.Result.tval within' : ((unit -> 'a Async_kernel.Deferred.t) -> 'a Async_kernel.Deferred.t) with_optionsval within : ((unit -> unit) -> unit) with_optionsval within_v : ((unit -> 'a) -> 'a option) with_optionsval with_local : 'a Core_kernel.Univ_map.Key.t -> 'a option -> f:(unit -> 'b) -> 'bval find_local : 'a Core_kernel.Univ_map.Key.t -> 'a optionval schedule' : ((unit -> 'a Async_kernel.Deferred.t) -> 'a Async_kernel.Deferred.t) with_optionsval schedule : ((unit -> unit) -> unit) with_optionsval enqueue_job : Async_kernel.Execution_context.t -> ('a -> unit) -> 'a -> unitval thread_safe_enqueue_job : Async_kernel.Execution_context.t -> ('a -> unit) -> 'a -> unitval preserve_execution_context : ('a -> unit) -> ('a -> unit) Core_kernel.Staged.tval preserve_execution_context' : ('a -> 'b Async_kernel.Deferred.t) -> ('a -> 'b Async_kernel.Deferred.t) Core_kernel.Staged.tval cycle_start : unit -> Core_kernel.Time.tval cycle_start_ns : unit -> Async_kernel__.Import.Time_ns.tval cycle_times : unit -> Core_kernel.Time.Span.t Async_kernel__.Async_stream.tval cycle_times_ns : unit -> Async_kernel__.Import.Time_ns.Span.t Async_kernel__.Async_stream.tval long_cycles : at_least:Async_kernel__.Import.Time_ns.Span.t -> Async_kernel__.Import.Time_ns.Span.t Async_kernel__.Async_stream.tval cycle_count : unit -> intval total_cycle_time : unit -> Async_kernel__.Import.Time_ns.Span.tval event_precision : unit -> Core_kernel.Time.Span.tval event_precision_ns : unit -> Async_kernel__.Import.Time_ns.Span.tval force_current_cycle_to_end : unit -> unitval set_max_num_jobs_per_priority_per_cycle : int -> unitval max_num_jobs_per_priority_per_cycle : unit -> intval set_record_backtraces : bool -> unitval yield : unit -> unit Async_kernel.Deferred.tval yield_until_no_jobs_remain : unit -> unit Async_kernel.Deferred.tval yield_every : n:int -> (unit -> unit Async_kernel.Deferred.t) Core_kernel.Staged.tval num_jobs_run : unit -> intval num_pending_jobs : unit -> int
module Private = Async_kernel__.Scheduler