diff options
author | mdodd <mdodd@FreeBSD.org> | 2002-08-04 01:27:31 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2002-08-04 01:27:31 +0000 |
commit | 3cb287247d5c599cde0f7839b27320c6ae3b907c (patch) | |
tree | 1ea381bca59453aef6677708cd85d541a2dc4c3e /usr.bin/truss/truss.h | |
parent | e327abdb5fe6f6022bec2eac7491975d34fa77d2 (diff) | |
download | FreeBSD-src-3cb287247d5c599cde0f7839b27320c6ae3b907c.zip FreeBSD-src-3cb287247d5c599cde0f7839b27320c6ae3b907c.tar.gz |
Add options to print absolute and relative timestamps.
PR: bin/25587 (in part)
MFC after: 3 weeks
Diffstat (limited to 'usr.bin/truss/truss.h')
-rw-r--r-- | usr.bin/truss/truss.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/truss/truss.h b/usr.bin/truss/truss.h index f77202a..2bb5c85 100644 --- a/usr.bin/truss/truss.h +++ b/usr.bin/truss/truss.h @@ -26,6 +26,8 @@ */ #define FOLLOWFORKS 0x00000001 +#define RELATIVETIMESTAMPS 0x00000002 +#define ABSOLUTETIMESTAMPS 0x00000004 #define NOSIGS 0x00000008 struct trussinfo @@ -34,4 +36,8 @@ struct trussinfo int flags; int in_fork; FILE *outfile; + + struct timeval start_time; + struct timeval before; + struct timeval after; }; |