summaryrefslogtreecommitdiff
path: root/lib/timevar.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/timevar.h')
-rw-r--r--lib/timevar.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/timevar.h b/lib/timevar.h
index ff443fed6b..cf9e0830d1 100644
--- a/lib/timevar.h
+++ b/lib/timevar.h
@@ -23,6 +23,8 @@
# include <stdio.h>
+# include "xtime.h"
+
# ifdef __cplusplus
extern "C" {
# endif
@@ -58,14 +60,14 @@ extern "C" {
struct timevar_time_def
{
/* User time in this process. */
- float user;
+ xtime_t user;
/* System time (if applicable for this host platform) in this
process. */
- float sys;
+ xtime_t sys;
/* Wall clock time. */
- float wall;
+ xtime_t wall;
};
/* An enumeration of timing variable identifiers. Constructed from