Print this page
DLPX-43064 include high-resolution round-trip times in connstat (EP-652)


   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  * Copyright 2016 Joyent, Inc.
  19  */
  20 
  21 /*
  22  * Copyright (c) 2013, 2015 by Delphix. All rights reserved.
  23  */
  24 
  25 #ifndef _SYS_TIME_H
  26 #define _SYS_TIME_H
  27 
  28 #include <sys/feature_tests.h>
  29 
  30 /*
  31  * Structure returned by gettimeofday(2) system call,
  32  * and used in other calls.
  33  */
  34 
  35 #ifdef  __cplusplus
  36 extern "C" {
  37 #endif
  38 
  39 #if !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) || \
  40         defined(__EXTENSIONS__)
  41 #ifndef _ASM
  42 




   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  * Copyright 2016 Joyent, Inc.
  19  */
  20 
  21 /*
  22  * Copyright (c) 2013, 2016 by Delphix. All rights reserved.
  23  */
  24 
  25 #ifndef _SYS_TIME_H
  26 #define _SYS_TIME_H
  27 
  28 #include <sys/feature_tests.h>
  29 
  30 /*
  31  * Structure returned by gettimeofday(2) system call,
  32  * and used in other calls.
  33  */
  34 
  35 #ifdef  __cplusplus
  36 extern "C" {
  37 #endif
  38 
  39 #if !defined(__XOPEN_OR_POSIX) || defined(_XPG4_2) || \
  40         defined(__EXTENSIONS__)
  41 #ifndef _ASM
  42