Download - Oracle Documentation

Transcript
Metric Lists
counter metrics. For other hardware counter metrics, the metric name string is the same as the
counter name. You can display a list of all the available metric name strings for the loaded
experiments with the metric_list command. To list the counter names, issue the collect -h
command with no additional arguments. See “Hardware Counter Profiling Data” on page 26 for
more information on hardware counters.
TABLE 5-3
Metric Name Strings
Category
String
Description
Clock profiling
metrics
total
Total Thread Time
totalcpu
Total CPU Time
user
User CPU Time
system
System CPU Time
trap
Trap CPU Time
lock
User Lock Time
datapfault
Data-Page Fault Time
textpfault
Text-Page Fault Time
kernelpfault
Kernel Page Fault Time
stop
Stopped Time
wait
CPU wait time
sleep
Sleep Time
Hardware counter
metrics
insts
Instructions issued
cycles
Available on all supported systems.
CPU cycles
Available on most supported systems. In addition, each processor
has its own set of counters. Use collect -h to see the full list of
counters for your system.
CPI
Cycles per instruction, calculated from cycles and insts metrics.
Available only if both counters are recorded.
IPC
Instructions per cycle, calculated from cycles and insts metrics.
Available only if both counters are recorded.
OpenMP profiling
metrics
ompwork
Time spent doing work either serially or in parallel
ompwait
Time spent when OpenMP runtime is waiting for synchronization
masterthread
Master Thread Time is the total time spent in the master thread. It
is only available from Solaris experiments. It corresponds to wallclock time.
Synchronization delay
metrics
sync
Synchronization wait time
syncn
Synchronization wait count
Heap tracing metrics
heapalloccnt
Number of allocations
heapallocbytes
Bytes allocated
Chapter 5 • er_print Command-Line Performance Analysis Tool
137