Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Side by Side Diff: net/quic/quic_headers_stream.h

Issue 1408803002: relnote: Measure HOL blocking in QUIC headers stream. Flag protected by quic_measure_headers_hol_bl… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uma_for_hol_merge
Patch Set: get rid of git certs leakage Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_frame_list.cc ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_HEADERS_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_HEADERS_STREAM_H_
6 #define NET_QUIC_QUIC_HEADERS_STREAM_H_ 6 #define NET_QUIC_QUIC_HEADERS_STREAM_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Returns true if the session is still connected. 68 // Returns true if the session is still connected.
69 bool IsConnected(); 69 bool IsConnected();
70 70
71 QuicSpdySession* spdy_session_; 71 QuicSpdySession* spdy_session_;
72 72
73 // Data about the stream whose headers are being processed. 73 // Data about the stream whose headers are being processed.
74 QuicStreamId stream_id_; 74 QuicStreamId stream_id_;
75 bool fin_; 75 bool fin_;
76 size_t frame_len_; 76 size_t frame_len_;
77 77
78 // Helper variable that caches the corresponding feature flag.
79 bool measure_headers_hol_blocking_time_;
80
81 // Timestamps used to measure HOL blocking, these are recorded by
82 // the sequencer approximate to the time of arrival off the wire.
83 // |cur_max_timestamp_| tracks the most recent arrival time of
84 // frames for current (at the headers stream level) processed
85 // stream's headers, and |prev_max_timestamp_| tracks the most
86 // recent arrival time of lower numbered streams.
87 QuicTime cur_max_timestamp_;
88 QuicTime prev_max_timestamp_;
89
78 SpdyFramer spdy_framer_; 90 SpdyFramer spdy_framer_;
79 scoped_ptr<SpdyFramerVisitor> spdy_framer_visitor_; 91 scoped_ptr<SpdyFramerVisitor> spdy_framer_visitor_;
80 92
81 DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream); 93 DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream);
82 }; 94 };
83 95
84 } // namespace net 96 } // namespace net
85 97
86 #endif // NET_QUIC_QUIC_HEADERS_STREAM_H_ 98 #endif // NET_QUIC_QUIC_HEADERS_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_frame_list.cc ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698