equal
deleted
inserted
replaced
23 |
23 |
24 signature RECORD_PACKAGE = |
24 signature RECORD_PACKAGE = |
25 sig |
25 sig |
26 include BASIC_RECORD_PACKAGE |
26 include BASIC_RECORD_PACKAGE |
27 val quiet_mode: bool ref |
27 val quiet_mode: bool ref |
|
28 val timing: bool ref |
28 val record_quick_and_dirty_sensitive: bool ref |
29 val record_quick_and_dirty_sensitive: bool ref |
29 val updateN: string |
30 val updateN: string |
30 val updN: string |
31 val updN: string |
31 val ext_typeN: string |
32 val ext_typeN: string |
32 val extN: string |
33 val extN: string |
119 fun trace_term str t = |
120 fun trace_term str t = |
120 tracing (str ^ (Display.raw_string_of_term t)); |
121 tracing (str ^ (Display.raw_string_of_term t)); |
121 |
122 |
122 (* timing *) |
123 (* timing *) |
123 |
124 |
|
125 val timing = ref false; |
124 fun timeit_msg s x = if !timing then (warning s; timeit x) else x (); |
126 fun timeit_msg s x = if !timing then (warning s; timeit x) else x (); |
125 fun timing_msg s = if !timing then warning s else (); |
127 fun timing_msg s = if !timing then warning s else (); |
126 |
128 |
127 (* syntax *) |
129 (* syntax *) |
128 |
130 |