]> mj.ucw.cz Git - libucw.git/blobdiff - lib/timer.c
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
[libucw.git] / lib / timer.c
index 42cc9ebc366ff59b00c6fd1ad67b172e0710a95a..86a2d1984cd06ad5dec760ba572def3978ea8051 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Library -- Execution Timing
+ *     UCW Library -- Execution Timing
  *
  *     (c) 1997 Martin Mares <mj@ucw.cz>
  *
@@ -44,3 +44,9 @@ init_timer(void)
 {
   gettimeofday(&last_tv, NULL);
 }
+
+void
+get_last_timeval(struct timeval *tv)
+{
+  *tv = last_tv;
+}