File: stats.mli

package info (click to toggle)
sks 1.1.6-14
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,296 kB
  • sloc: ml: 15,228; ansic: 1,069; sh: 358; makefile: 347
file content (20 lines) | stat: -rw-r--r-- 765 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
val last : 'a list -> 'a
type histogram_entry = {
  upper : float;
  lower : float;
  mutable num_adds : int;
  mutable num_dels : int;
}
external get_tzname : unit -> string * string = "caml_get_tzname"
val time_to_tz_string : float -> string
val time_to_string : float -> string
val time_to_date : float -> string
val time_to_hour : float -> string
val round_up_to_day : float -> float
val round_up_to_hour : float -> float
val histogram_log :
  now:float -> float -> (float * Common.event) array -> histogram_entry array
val histogram_to_table : (float -> string) -> histogram_entry array -> string
val info_tables : unit -> string
val generate_html_stats_page : (float * Common.event) list -> int -> string
val generate_html_stats_page_nostats : unit -> string