From a5a5398e240d39cedb7d944edb833d8449da3e11 Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 2 Sep 2005 15:54:18 +0000 Subject: 2005-09-02 Frank Ch. Eigler * tapset/*.stp: Renamed several files to simplify names. --- tapset/timestamp_functions.stp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 tapset/timestamp_functions.stp (limited to 'tapset/timestamp_functions.stp') diff --git a/tapset/timestamp_functions.stp b/tapset/timestamp_functions.stp deleted file mode 100644 index f8e1ea4e..00000000 --- a/tapset/timestamp_functions.stp +++ /dev/null @@ -1,19 +0,0 @@ -%{ -#include -%} - -// return in milliseconds since epoch -function gettimeofday_ms () %{ - struct timeval tm; - do_gettimeofday (& tm); - THIS->__retvalue = (tm.tv_sec * 1000) + (tm.tv_usec / 1000); -%} - -// return in seconds since epoch -function gettimeofday_s () %{ - struct timeval tm; - do_gettimeofday (& tm); - THIS->__retvalue = tm.tv_sec; -%} - -// likewise jiffies, monotonic_clock ... -- cgit