Module Core__Core_time_ns.Span

include module type of sig ... end with module Private := Core__.Import.Time_ns.Span.Private
type t = Core_kernel__Time_ns.Span.t
type underlying = Core_kernel.Int63.t
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write.writer
val bin_read_t : t Bin_prot.Read.reader
val __bin_read_t__ : (int -> t) Bin_prot.Read.reader
val bin_shape_t : Bin_prot.Shape.t
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_t : t Bin_prot.Type_class.t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val typerep_of_t : t Typerep_lib.Std_internal.Typerep.t
val typename_of_t : t Typerep_lib.Typename.t
val (>=) : t -> t -> bool
val (<=) : t -> t -> bool
val (=) : t -> t -> bool
val (>) : t -> t -> bool
val (<) : t -> t -> bool
val (<>) : t -> t -> bool
val equal : t -> t -> bool
val compare : t -> t -> int
val min : t -> t -> t
val max : t -> t -> t
val ascending : t -> t -> int
val descending : t -> t -> int
val between : t -> low:t -> high:t -> bool
val clamp_exn : t -> min:t -> max:t -> t
val clamp : t -> min:t -> max:t -> t Base.Or_error.t
type comparator_witness = Core_kernel__Time_ns.Span.comparator_witness
val validate_lbound : min:t Base.Maybe_bound.t -> t Base.Validate.check
val validate_ubound : max:t Base.Maybe_bound.t -> t Base.Validate.check
val validate_bound : min:t Base.Maybe_bound.t -> max:t Base.Maybe_bound.t -> t Base.Validate.check
val comparator : (tcomparator_witness) Core_kernel.Comparator.comparator
val validate_positive : t Base.Validate.check
val validate_non_negative : t Base.Validate.check
val validate_negative : t Base.Validate.check
val validate_non_positive : t Base.Validate.check
val is_positive : t -> bool
val is_non_negative : t -> bool
val is_negative : t -> bool
val is_non_positive : t -> bool
val sign : t -> Base__.Sign0.t
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value
val hashable : t Core_kernel.Hashtbl.Hashable.t
val pp : Base.Formatter.t -> t -> unit
val (>=.) : t -> t -> bool
val (<=.) : t -> t -> bool
val (=.) : t -> t -> bool
val (>.) : t -> t -> bool
val (<.) : t -> t -> bool
val (<>.) : t -> t -> bool
val robustly_compare : t -> t -> int
val quickcheck_generator : t Base_quickcheck.Generator.t
val quickcheck_observer : t Base_quickcheck.Observer.t
val quickcheck_shrinker : t Base_quickcheck.Shrinker.t
val gen_incl : t -> t -> t Base_quickcheck.Generator.t
val gen_uniform_incl : t -> t -> t Base_quickcheck.Generator.t
val to_string : t -> Core_kernel__.Import.string
val of_string : Core_kernel__.Import.string -> t
val nanosecond : t
val microsecond : t
val millisecond : t
val second : t
val minute : t
val hour : t
val day : t
val robust_comparison_tolerance : t
val zero : t
val create : ?⁠sign:Core_kernel.Sign.t -> ?⁠day:Core_kernel__.Import.int -> ?⁠hr:Core_kernel__.Import.int -> ?⁠min:Core_kernel__.Import.int -> ?⁠sec:Core_kernel__.Import.int -> ?⁠ms:Core_kernel__.Import.int -> ?⁠us:Core_kernel__.Import.int -> ?⁠ns:Core_kernel__.Import.int -> Core_kernel__.Import.unit -> t
val to_parts : t -> Parts.t
val of_ns : Core_kernel__.Import.float -> t
val of_us : Core_kernel__.Import.float -> t
val of_ms : Core_kernel__.Import.float -> t
val of_sec : Core_kernel__.Import.float -> t
val of_int_sec : Core_kernel__.Import.int -> t
val of_int32_seconds : Core_kernel.Int32.t -> t
val of_int63_seconds : Core_kernel.Int63.t -> t
val of_min : Core_kernel__.Import.float -> t
val of_hr : Core_kernel__.Import.float -> t
val of_day : Core_kernel__.Import.float -> t
val to_ns : t -> Core_kernel__.Import.float
val to_us : t -> Core_kernel__.Import.float
val to_ms : t -> Core_kernel__.Import.float
val to_sec : t -> Core_kernel__.Import.float
val to_min : t -> Core_kernel__.Import.float
val to_hr : t -> Core_kernel__.Import.float
val to_day : t -> Core_kernel__.Import.float
val to_int63_seconds_round_down_exn : t -> Core_kernel.Int63.t
val to_proportional_float : t -> Core_kernel__.Import.float
val (+) : t -> t -> t
val (-) : t -> t -> t
val abs : t -> t
val neg : t -> t
val scale : t -> Core_kernel__.Import.float -> t
val (/) : t -> Core_kernel__.Import.float -> t
val (//) : t -> t -> Core_kernel__.Import.float
val next : t -> t
val prev : t -> t
val to_short_string : t -> Core_kernel__.Import.string
val to_unit_of_time : t -> Core_kernel.Unit_of_time.t
val of_unit_of_time : Core_kernel.Unit_of_time.t -> t
val to_string_hum : ?⁠delimiter:Core_kernel__.Import.char -> ?⁠decimals:Core_kernel__.Import.int -> ?⁠align_decimal:Core_kernel__.Import.bool -> ?⁠unit_of_time:Core_kernel.Unit_of_time.t -> t -> Core_kernel__.Import.string
val randomize : t -> percent:Core_kernel.Percent.t -> t
val of_sec_with_microsecond_precision : Core_kernel__.Import.float -> t
val of_int_us : Core_kernel__.Import.int -> t
val of_int_ms : Core_kernel__.Import.int -> t
val to_int_us : t -> Core_kernel__.Import.int
val to_int_ms : t -> Core_kernel__.Import.int
val to_int_sec : t -> Core_kernel__.Import.int
val min_value_representable : t
val max_value_representable : t
val min_value_for_1us_rounding : t
val max_value_for_1us_rounding : t
val min_value : t
val max_value : t
val scale_int : t -> Core_kernel__.Import.int -> t
val scale_int63 : t -> Core_kernel.Int63.t -> t
val div : t -> t -> Core_kernel.Int63.t
val to_int63_ns : t -> Core_kernel.Int63.t
val of_int63_ns : Core_kernel.Int63.t -> t
val to_int_ns : t -> Core_kernel__.Import.int
val of_int_ns : Core_kernel__.Import.int -> t
val since_unix_epoch : Core_kernel__.Import.unit -> t
val random : ?⁠state:Core_kernel__.Import.Random.State.t -> Core_kernel__.Import.unit -> t
val to_span : t -> Core_kernel__.Span_float.t
val of_span : Core_kernel__.Span_float.t -> t
val to_span_float_round_nearest : t -> Core_kernel__.Span_float.t
val to_span_float_round_nearest_microsecond : t -> Core_kernel__.Span_float.t
val of_span_float_round_nearest : Core_kernel__.Span_float.t -> t
val of_span_float_round_nearest_microsecond : Core_kernel__.Span_float.t -> t
include Core__.Import.Comparable.With_zero with type t := t
type t
val validate_positive : t Base.Validate.check
val validate_non_negative : t Base.Validate.check
val validate_negative : t Base.Validate.check
val validate_non_positive : t Base.Validate.check
val is_positive : t -> bool
val is_non_negative : t -> bool
val is_negative : t -> bool
val is_non_positive : t -> bool
val sign : t -> Base__.Sign0.t

Returns Neg, Zero, or Pos in a way consistent with the above functions.

val arg_type : t Core_kernel.Command.Arg_type.t
include Core__.Import.Robustly_comparable with type t := t
type t
val (>=.) : t -> t -> bool
val (<=.) : t -> t -> bool
val (=.) : t -> t -> bool
val (>.) : t -> t -> bool
val (<.) : t -> t -> bool
val (<>.) : t -> t -> bool
val robustly_compare : t -> t -> int
module Stable : sig ... end
module Option : sig ... end

Span.Option.t is like Span.t option, except that the value is immediate on architectures where Int63.t is immediate. This module should mainly be used to avoid allocations.