projects
/
SXSI
/
xpathcomp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bbc279
)
Changes the log format to include a timestamp.
author
Kim Nguyễn
<kn@lri.fr>
Wed, 22 Feb 2012 09:15:34 +0000
(10:15 +0100)
committer
Kim Nguyễn
<kn@lri.fr>
Wed, 22 Feb 2012 09:15:34 +0000
(10:15 +0100)
utils/alarm.ml
patch
|
blob
|
history
diff --git
a/utils/alarm.ml
b/utils/alarm.ml
index
5a9c83f
..
3387b45
100644
(file)
--- a/
utils/alarm.ml
+++ b/
utils/alarm.ml
@@
-71,7
+71,7
@@
let rec monitor pid start finish mem fmt =
else
begin
if not !Options.quiet then
- fprintf fmt "[%f] Memory: current=%ikb max=%ikb\n%!"
+ fprintf fmt "[%
11.3
f] Memory: current=%ikb max=%ikb\n%!"
(current_time -. start) current_mem !max_mem;
usleep !Options.interval;
monitor pid start finish mem fmt