diff options
author | Sebastien Roy <seb@delphix.com> | 2016-01-29 14:43:39 -0500 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2019-08-19 22:32:46 +0000 |
commit | c12492cf73149aa0aa845af5d59966b0eb5aa910 (patch) | |
tree | 871b7cc8c1d5f4ee1e09b69771731adbca73b64e /usr/src/uts/common/inet/tcp.h | |
parent | 519cca71df494bfdf951168b57893cdbe961647f (diff) | |
download | illumos-joyent-c12492cf73149aa0aa845af5d59966b0eb5aa910.tar.gz |
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>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/inet/tcp.h')
-rw-r--r-- | usr/src/uts/common/inet/tcp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/uts/common/inet/tcp.h b/usr/src/uts/common/inet/tcp.h index b2b9973291..9c5ffed2eb 100644 --- a/usr/src/uts/common/inet/tcp.h +++ b/usr/src/uts/common/inet/tcp.h @@ -22,7 +22,7 @@ * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2011, Joyent, Inc. All rights reserved. * Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved. - * Copyright (c) 2014 by Delphix. All rights reserved. + * Copyright (c) 2014, 2016 by Delphix. All rights reserved. */ /* Copyright (c) 1990 Mentat Inc. */ @@ -282,9 +282,9 @@ typedef struct tcp_s { uint32_t tcp_cwnd_max; uint32_t tcp_csuna; /* Clear (no rexmits in window) suna */ - clock_t tcp_rtt_sa; /* Round trip smoothed average */ - clock_t tcp_rtt_sd; /* Round trip smoothed deviation */ - clock_t tcp_rtt_update; /* Round trip update(s) */ + hrtime_t tcp_rtt_sa; /* Round trip smoothed average */ + hrtime_t tcp_rtt_sd; /* Round trip smoothed deviation */ + uint32_t tcp_rtt_update; /* Round trip update(s) */ clock_t tcp_ms_we_have_waited; /* Total retrans time */ uint32_t tcp_swl1; /* These help us avoid using stale */ |