From 62f6f1e1a121cefa75d00b8e06a58fe06999ac8a Mon Sep 17 00:00:00 2001 From: Bryan Cantrill Date: Fri, 2 Dec 2011 01:22:07 +0000 Subject: OS-782 need to record timestamp when calling through context ops --- usr/src/uts/common/sys/thread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/src/uts/common/sys/thread.h') diff --git a/usr/src/uts/common/sys/thread.h b/usr/src/uts/common/sys/thread.h index 188230d61e..c7f460e7c7 100644 --- a/usr/src/uts/common/sys/thread.h +++ b/usr/src/uts/common/sys/thread.h @@ -68,6 +68,8 @@ typedef struct ctxop { void (*free_op)(void *, int); /* function which frees the context */ void *arg; /* argument to above functions, ctx pointer */ struct ctxop *next; /* next context ops */ + hrtime_t save_ts; /* timestamp of last save */ + hrtime_t restore_ts; /* timestamp of last restore */ } ctxop_t; /* -- cgit v1.2.3