-
Patrick Baudin authoredPatrick Baudin authored
size.mli 1.63 KiB
(**************************************************************************)
(* *)
(* Copyright (C) Jean-Christophe Filliatre *)
(* *)
(* This software is free software; you can redistribute it and/or *)
(* modify it under the terms of the GNU Library General Public *)
(* License version 2.1, with the special exception on linking *)
(* described in file LICENSE. *)
(* *)
(* This software is distributed in the hope that it will be useful, *)
(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)
(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *)
(* *)
(* File modified by CEA (Commissariat à l'énergie atomique et aux *)
(* énergies alternatives). *)
(* *)
(**************************************************************************)
(*i $Id: size.mli,v 1.1 2007-11-28 12:52:04 uid568 Exp $ i*)
(* Sizes of ocaml values (in their memory representation).
Sizes are given in words ([size_w]), bytes ([size_b]) or kilobytes
([size_kb]), in a system-independent way. *)
val size_w : ?except:'a -> 'b -> int
val size_b : ?except:'a -> 'b -> int
val size_kb : ?except:'a -> 'b -> int