package core_profiler

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file profiler_epoch.ml

1
2
3
4
5
6
7
8
9
10
11
12
open Core


type t = Time_ns.t [@@deriving sexp]
let of_time = Fn.id
let to_time = Fn.id
let add t x = Time_ns.add t x
let diff t x = Time_ns.diff x t

let of_int = Time_ns.of_int_ns_since_epoch
let to_int = Time_ns.to_int_ns_since_epoch
let to_string = Time_ns.to_string