Guides and Sample Code

Developer

Instruments User Guide

On This Page

Connections Instrument

Overview

Instrument Description

The Connections instrument captures information about TCP/IP and UDP/IP networking activating over time. It can record information from a single process or from all processes running on the system.

Supported Platforms

iOS

Related Profiling Templates

Network Profiling Template

Timeline Pane

The timeline pane displays the following information, based on the instrument’s configuration:

Statistic name

Definition

FD

The numeric file descriptor.

Bytes

The number of bytes that were read or written.

Thread ID

The thread identifier.

Stack Depth

The depth of the stack when the operation was performed.

Record Settings

This instrument doesn’t have any record settings you can configure.

Display Settings

Click the Display Settings button (image: ../Art/instruments_displaysettings_button_inline_2x.png) in the inspector pane to customize the following display settings.

Track Display Settings

These settings control how information is displayed in the timeline pane.

Setting

Description

Options

Style

How information is presented. This is a fixed setting, which can’t be changed.

  • Activity: The amount of network activity being performed.

Detail Pane Columns

Processes Detail Type

The following processes columns are available in the detail pane.

Column name

Definition

Graph

A checkbox indicating whether the process should be graphed in the timeline pane.

Process

The name of the process.

Data In

The amount of data received.

Packets In

The number of packets received.

Data Out

The amount of data sent out.

Packets Out

The number of packets sent out.

Duplicate Data Recv.

The amount of duplicate data received.

Out-of-Order Data

The amount of data that was received out of order.

Retransmissions

The number of times data had to be retransmitted.

Connections Detail Type

The following connections columns are available in the detail pane.

Column name

Definition

Graph

A checkbox indicating whether the connection should be graphed in the timeline pane.

Process

The name of the process.

Local

Denotes if the process is local.

Remote

Denotes if the process is remote.

Data In

The amount of data received.

Packets In

The number of packets received.

Data Out

The amount of data sent out.

Packets Out

The number of packets sent out.

Duplicate Data Recv.

The amount of duplicate data received.

Out-of-Order Data

The amount of data that was received out of order.

Retransmissions

The number of times data had to be retransmitted.

Shortest Roundtrip

The shortest time for a query / response pair.

Avg. Roundtrip

The average time for a query / response pair.

Interfaces Detail Type

The following interfaces columns are available in the detail pane.

Column name

Definition

Graph

A checkbox indicating whether the interface should be graphed in the timeline pane.

Interface

The interface currently used.

Connections

The number of connections created.

Data In

The amount of data received.

Packets In

The number of packets received.

Data Out

The amount of data sent out.

Packets Out

The number of packets sent out.

Duplicate Data Recv.

The amount of duplicate data received.

Out-of-Order Data

The amount of data that was received out of order.

Retransmissions

The number of times data had to be retransmitted.

Shortest Roundtrip

The shortest time for a query / response pair.

Avg. Roundtrip

The average time for a query / response pair.