aboutsummaryrefslogtreecommitdiffstats
path: root/src/SoftwarePipelining/SPDebug.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/SoftwarePipelining/SPDebug.ml')
-rw-r--r--src/SoftwarePipelining/SPDebug.ml6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/SoftwarePipelining/SPDebug.ml b/src/SoftwarePipelining/SPDebug.ml
index b2ea257..34d1c0c 100644
--- a/src/SoftwarePipelining/SPDebug.ml
+++ b/src/SoftwarePipelining/SPDebug.ml
@@ -13,13 +13,9 @@
open Unix
let tm = localtime (time ());;
-let name = "../tmp/" ^ (string_of_int tm.tm_year) ^ "-" ^(string_of_int tm.tm_mon) ^ "-" ^(string_of_int tm.tm_mday) ^
+let name = "debug/" ^ (string_of_int tm.tm_year) ^ "-" ^(string_of_int tm.tm_mon) ^ "-" ^(string_of_int tm.tm_mday) ^
"-" ^(string_of_int tm.tm_hour) ^"-" ^(string_of_int tm.tm_min) ^ "-" ^(string_of_int tm.tm_sec) ^ "/";;
mkdir name 0o777;;
Printf.printf "Debug informations: %s \n" name ;;
let dc = open_out (name ^ "debug.log");;
let () = at_exit(fun () -> close_out dc);;
-
-
-
-