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

Side by Side Diff: net/spdy/spdy_session.h

Issue 5556008: Add histograms to track stalled spdy streams. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | net/spdy/spdy_session.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SPDY_SPDY_SESSION_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_H_
6 #define NET_SPDY_SPDY_SESSION_H_ 6 #define NET_SPDY_SPDY_SESSION_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <list> 10 #include <list>
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 404
405 // Some statistics counters for the session. 405 // Some statistics counters for the session.
406 int streams_initiated_count_; 406 int streams_initiated_count_;
407 int streams_pushed_count_; 407 int streams_pushed_count_;
408 int streams_pushed_and_claimed_count_; 408 int streams_pushed_and_claimed_count_;
409 int streams_abandoned_count_; 409 int streams_abandoned_count_;
410 int frames_received_; 410 int frames_received_;
411 bool sent_settings_; // Did this session send settings when it started. 411 bool sent_settings_; // Did this session send settings when it started.
412 bool received_settings_; // Did this session receive at least one settings 412 bool received_settings_; // Did this session receive at least one settings
413 // frame. 413 // frame.
414 int stalled_streams_; // Count of streams that were ever stalled.
414 415
415 // Initial send window size for the session; can be changed by an 416 // Initial send window size for the session; can be changed by an
416 // arriving SETTINGS frame; newly created streams use this value for the 417 // arriving SETTINGS frame; newly created streams use this value for the
417 // initial send window size. 418 // initial send window size.
418 int initial_send_window_size_; 419 int initial_send_window_size_;
419 420
420 // Initial receive window size for the session; there are plans to add a 421 // Initial receive window size for the session; there are plans to add a
421 // command line switch that would cause a SETTINGS frame with window size 422 // command line switch that would cause a SETTINGS frame with window size
422 // announcement to be sent on startup; newly created streams will use 423 // announcement to be sent on startup; newly created streams will use
423 // this value for the initial receive window size. 424 // this value for the initial receive window size.
(...skipping 26 matching lines...) Expand all
450 const spdy::SpdyControlFlags flags_; 451 const spdy::SpdyControlFlags flags_;
451 const spdy::SpdyStreamId id_; 452 const spdy::SpdyStreamId id_;
452 const spdy::SpdyStreamId associated_stream_; 453 const spdy::SpdyStreamId associated_stream_;
453 454
454 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter); 455 DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynParameter);
455 }; 456 };
456 457
457 } // namespace net 458 } // namespace net
458 459
459 #endif // NET_SPDY_SPDY_SESSION_H_ 460 #endif // NET_SPDY_SPDY_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698