]> 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 c8a0d4745d04a44c216905c0ca737b239a73e4ca..86a2d1984cd06ad5dec760ba572def3978ea8051 100644 (file)
@@ -44,3 +44,9 @@ init_timer(void)
 {
   gettimeofday(&last_tv, NULL);
 }
+
+void
+get_last_timeval(struct timeval *tv)
+{
+  *tv = last_tv;
+}