Print this page
11546 Track TCP round-trip time in nanoseconds
Portions contributed by: Cody Peter Mello <cody.mello@joyent.com>
Portions contributed by: Brandon Baker <bbaker@delphix.com>
Reviewed by: Jason King <jason.king@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
   1 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
   2 /*        All Rights Reserved   */
   3 
   4 
   5 /*
   6  * Copyright (c) 1982, 1986, 1993 Regents of the University of California.
   7  * All rights reserved.  The Berkeley software License Agreement
   8  * specifies the terms and conditions for redistribution.
   9  */
  10 
  11 /*
  12  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  13  *
  14  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  15  * Use is subject to license terms.
  16  *
  17  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  18  */
  19 
  20 /*
  21  * Copyright (c) 2013, 2015 by Delphix. All rights reserved.
  22  */
  23 
  24 #ifndef _SYS_TIME_H
  25 #define _SYS_TIME_H
  26 
  27 #include <sys/feature_tests.h>
  28 
  29 /*
  30  * Structure returned by gettimeofday(2) system call,
  31  * and used in other calls.
  32  */
  33 
  34 #ifdef  __cplusplus
  35 extern "C" {
  36 #endif
  37 
  38 #if !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) || \
  39         defined(__EXTENSIONS__)
  40 #ifndef _ASM
  41 


   1 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
   2 /*        All Rights Reserved   */
   3 
   4 
   5 /*
   6  * Copyright (c) 1982, 1986, 1993 Regents of the University of California.
   7  * All rights reserved.  The Berkeley software License Agreement
   8  * specifies the terms and conditions for redistribution.
   9  */
  10 
  11 /*
  12  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  13  *
  14  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  15  * Use is subject to license terms.
  16  *
  17  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  18  */
  19 
  20 /*
  21  * Copyright (c) 2013, 2016 by Delphix. All rights reserved.
  22  */
  23 
  24 #ifndef _SYS_TIME_H
  25 #define _SYS_TIME_H
  26 
  27 #include <sys/feature_tests.h>
  28 
  29 /*
  30  * Structure returned by gettimeofday(2) system call,
  31  * and used in other calls.
  32  */
  33 
  34 #ifdef  __cplusplus
  35 extern "C" {
  36 #endif
  37 
  38 #if !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) || \
  39         defined(__EXTENSIONS__)
  40 #ifndef _ASM
  41