diff options
author | Bryan Cantrill <bryan@joyent.com> | 2011-12-02 01:22:07 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2012-04-27 21:19:47 +0000 |
commit | 62f6f1e1a121cefa75d00b8e06a58fe06999ac8a (patch) | |
tree | 684f8b8b60f6b9b72a001a5e118a339f92830b43 /usr/src/uts/common/sys/thread.h | |
parent | 8c07126d4a0608e93b1cc5be587164e6fb9c8339 (diff) | |
download | illumos-joyent-62f6f1e1a121cefa75d00b8e06a58fe06999ac8a.tar.gz |
OS-782 need to record timestamp when calling through context ops
Diffstat (limited to 'usr/src/uts/common/sys/thread.h')
-rw-r--r-- | usr/src/uts/common/sys/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; /* |