From bfa7fcaddcda8f3bf789948daa4dc958b062a1c4 Mon Sep 17 00:00:00 2001 From: hollings Date: Tue, 5 Jul 1994 03:24:42 +0000 Subject: [PATCH] Added types for observed cost model --- rtinst/h/rtinst.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rtinst/h/rtinst.h b/rtinst/h/rtinst.h index b3b3577..99fe2e9 100644 --- a/rtinst/h/rtinst.h +++ b/rtinst/h/rtinst.h @@ -18,6 +18,8 @@ typedef enum { processTime, wallTime } timerType; /* 64 bit time values */ typedef long long int time64; +typedef long long int int64; + struct sampleIdRec { unsigned int aggregate:1; unsigned int id:31; @@ -60,6 +62,11 @@ typedef (*filterFunc)(void *cdata, parameters *params); */ /* + * return the current CPU time in usec. + */ +time64 DYNINSTgetCPUtime(); + +/* * start a timer. */ void DYNINSTstartTimer(tTimer *timer); -- 1.8.3.1