コード例 #1
0
ファイル: stream.py プロジェクト: golegen/fuchsia
#!/usr/bin/env python

# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import statsc

statsc.compile(
    name='Stream',
    include='src/connectivity/overnet/deprecated/lib/stats/stream.h',
    stats = [
        statsc.Counter(name='linearizer_reject_past_end_of_buffering'),
        statsc.Counter(name='linearizer_empty_chunk'),
        statsc.Counter(name='linearizer_fast_path_taken'),
        statsc.Counter(name='linearizer_ignore_all_prior'),
        statsc.Counter(name='linearizer_partial_ignore_begin'),
        statsc.Counter(name='linearizer_new_pending_queue'),
        statsc.Counter(name='linearizer_integrations'),
        statsc.Counter(name='linearizer_integration_inserts'),
        statsc.Counter(name='linearizer_integration_errors'),
        statsc.Counter(name='linearizer_integration_coincident_shorter'),
        statsc.Counter(name='linearizer_integration_coincident_longer'),
        statsc.Counter(name='linearizer_integration_prior_longer'),
        statsc.Counter(name='linearizer_integration_prior_partial'),
        statsc.Counter(name='linearizer_integration_subsequent_splits'),
        statsc.Counter(name='linearizer_integration_subsequent_covers'),
        statsc.Counter(name='send_chunk_cancel_packet_too_small'),
        statsc.Counter(name='send_chunk_split_packet_too_small'),
        statsc.Counter(name='send_chunk_take_entire_chunk'),
        statsc.Counter(name='send_chunk_nacked'),
コード例 #2
0
#!/usr/bin/env python2.7

# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import statsc

statsc.compile(
    name='Link',
    include='src/connectivity/overnet/deprecated/lib/stats/link.h',
    stats=[
        statsc.Counter(name='incoming_packet_count'),
        statsc.Counter(name='outgoing_packet_count'),
        statsc.Counter(name='unseen_packets_marked_not_received'),
        statsc.Counter(name='acks_sent'),
        statsc.Counter(name='pure_acks_sent'),
        statsc.Counter(name='tail_loss_probes_scheduled'),
        statsc.Counter(
            name='tail_loss_probes_cancelled_because_requests_already_queued'),
        statsc.Counter(
            name='tail_loss_probes_cancelled_because_probe_already_scheduled'),
        statsc.Counter(name='tail_loss_probes_cancelled_after_timer_created'),
        statsc.Counter(
            name=
            'tail_loss_probe_scheduled_because_ack_required_soon_timer_expired'
        ),
        statsc.Counter(
            name='tail_loss_probe_scheduled_because_send_queue_is_empty'),
        statsc.Counter(name='ack_not_required_historic_sequence'),
        statsc.Counter(name='ack_not_required_frozen_sequence'),
コード例 #3
0
#!/usr/bin/env python

# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import statsc

statsc.compile(name='Link',
               include='src/connectivity/overnet/lib/stats/link.h',
               stats=[
                   statsc.Counter(name='incoming_packet_count'),
                   statsc.Counter(name='outgoing_packet_count'),
               ])