Game Development Reference
In-Depth Information
At the top of the Profiler tab is the
Controls
section, with
Stop
(Terminate) Pro-
filed Application,
Reset
Collected Profiling Results Buffer,
Garbage Collection
,
Modify
Profiling Session, and
VM Telemetry Overview
icons.
Below these is the
Status
section, showing the
type
of profiling you have selected
(in this case,
CPU
), the
configuration
(
Analyze Performance
), and the
Status
(
Run-
ning
).
The
Profiling Results
section contains icons that open tabs in the
code editor
sec-
tion regarding profiling data results (reports), and the
View
section does the same thing
for
virtual memory (VM) telemetry
,
threads
, and thread
lock contention
. You will
be looking at some of these in the next section, when you profile memory usage (you
are currently profiling CPU usage).
You can save
snapshots
of various points in time during your code profiling ses-
sions in the
Saved Snapshots
section. The
Basic Telemetry
section shows
statistics
regarding the profiling session, including number of methods, filter settings, threads
running, and memory usage.
Click the
Live Results
icon in the
Profiling Results
section, and open a live profil-
ing result tab, shown in
Figure 2-18
, at the top, labeled with the CPU time (2:12:09
PM).