Guides and Sample Code

Developer

Instruments User Guide

On This Page

Scheduling Instrument

Overview

Instrument Description

The Scheduling instrument captures information about thread context switches and tenures. It can record information from a single process or from all processes running on the system.

Supported Platforms

iOS

OS X

Related Profiling Templates

N/A

Timeline Pane

The timeline pane displays the number of scheduling events that are starting and ending during the time period.

Record Settings

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

Display Settings

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

Detail Pane Columns

Summary Detail Type

The following summary columns are available in the detail pane.

Column name

Definition

Graph

Determines if the process is graphed in the track pane.

Process

The name of the process.

Live Threads

The number of live threads generated by the process.

Intervals

The number of intervals created.

Duration

The duration of all of the threads associated with a process.

Time Division Ratios

The amount of time spent in the various states. The Scheduling instrument uses the same color notations as the Thread States instrument.

Running CPU

The total amount of CPU time used by all threads.

Avg CPU

The average amount of CPU time used by each thread.

Min CPU

The minimum amount of CPU time used by a thread.

Max CPU

The maximum amount of CPU time used by a thread.

Running Idle

The total amount of time the process was idle while running.

Avg Idle

The average amount of time the process was idle.

Min Idle

The minimum amount of time the process was idle.

Max Idle

The maximum amount of time the process was idle.

Running System

The total amount of time the process was being utilized by the system.

Avg System

The average amount of time the process was being utilized by the system.

Min System

The minimum amount of time the process was being utilized by the system.

Max System

The maximum amount of time the process was being utilized by the system.

Running User

The total amount of time the process was being utilized by the user.

Avg User

The average amount of time the process was being utilized by the user.

Min User

The minimum amount of time the process was being utilized by the user.

Max User

The maximum amount of time the process was being utilized by the user.

Min Priority

The minimum priority achieved by the process.

Max Priority

The maximum priority achieved by the process.

Event List Detail Type

The following event list columns are available in the detail pane.

Column name

Definition

#

The sequence number of the event.

Timestamp

The time the event occurred.

Thread

The name of the thread.

Process

The name of the process.

Core

The CPU core the event happened on.

Time

The amount of time taken by the event.

State

The state of the event.

Reason

The reason for the event.

Priority

The system priority for the event.