2016-02-18 07:11:59 -08:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* OCaml *)
|
|
|
|
(* *)
|
|
|
|
(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* OCaml port by John Malecki and Xavier Leroy *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. This file is distributed under the terms of *)
|
|
|
|
(* the GNU Lesser General Public License version 2.1, with the *)
|
|
|
|
(* special exception on linking described in the file LICENSE. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
1996-11-29 08:55:09 -08:00
|
|
|
|
|
|
|
(**************************** Time travel ******************************)
|
|
|
|
|
|
|
|
open Primitives
|
|
|
|
|
|
|
|
exception Current_checkpoint_lost
|
2006-11-20 02:29:45 -08:00
|
|
|
exception Current_checkpoint_lost_start_at of int64 * int64
|
1996-11-29 08:55:09 -08:00
|
|
|
|
|
|
|
val new_checkpoint : int -> io_channel -> unit
|
|
|
|
val set_file_descriptor : int -> io_channel -> bool
|
|
|
|
val kill_all_checkpoints : unit -> unit
|
|
|
|
val forget_process : io_channel -> int -> unit
|
|
|
|
val recover : unit -> unit
|
|
|
|
|
2002-10-29 09:53:24 -08:00
|
|
|
val go_to : int64 -> unit
|
1996-11-29 08:55:09 -08:00
|
|
|
|
|
|
|
val run : unit -> unit
|
|
|
|
val back_run : unit -> unit
|
2002-10-29 09:53:24 -08:00
|
|
|
val step : int64 -> unit
|
1996-11-29 08:55:09 -08:00
|
|
|
val finish : unit -> unit
|
|
|
|
val next : int -> unit
|
1997-03-30 11:43:01 -08:00
|
|
|
val start : unit -> unit
|
|
|
|
val previous : int -> unit
|