aboutsummaryrefslogtreecommitdiff
path: root/src/timer.h
diff options
context:
space:
mode:
authorkaustubhprabhu <devnull@localhost>2009-07-02 01:07:32 +0000
committerkaustubhprabhu <devnull@localhost>2009-07-02 01:07:32 +0000
commitc6ffef11b40a1d9d77656ced0bc2b0de53546536 (patch)
tree4bfade2e9c02b181edc7569f49d9f24c09dd8e1d /src/timer.h
parent8b44cd5a880d4b0bf62f3db8f022b64ea9b24206 (diff)
downloadiperf3-c6ffef11b40a1d9d77656ced0bc2b0de53546536.tar.gz
implemented UDP-timer changes , o/p format changes
Diffstat (limited to 'src/timer.h')
-rw-r--r--src/timer.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/timer.h b/src/timer.h
index 1c6fe7e..6fd0678 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -10,4 +10,11 @@ int delay(int64_t ns);
double timeval_to_double(struct timeval *tv);
-double timeval_diff(struct timeval *tv0, struct timeval *tv1); \ No newline at end of file
+double timeval_diff(struct timeval *tv0, struct timeval *tv1);
+
+void update_timer(struct timer *tp, time_t sec, suseconds_t usec);
+
+int64_t timer_remaining(struct timer *tp);
+
+void free_timer(struct timer *tp);
+