Profiling Catalog Reference
Use this reference to choose the catalog IDs accepted by xtop export and the XPTI Profile API. xtop catalog list exposes 61 IDs: 29 metrics and 32 datasets. The list is below, grouped into 11 areas by the question each catalog answers.
A metric returns one scalar. A dataset returns a table, time series, histogram, or matrix. Column-specific means a dataset’s columns or series define their own units; inspect them with xtop catalog describe ID.
Choose an ID
| Question | Start with |
|---|---|
| How long did the session run, and how much work was captured? | profile.duration_us, profile.device_event_span_us, profile.task_count |
| Which probes and intervals were actually captured? | probe.coverage, profile.collection_quality |
| Which Jobs and Maps ran? | pxl.jobs, pxl.maps |
| Which tasks were slow? | task.device_duration.percentiles, task.device_duration.slowest |
| How did cache behavior change? | cache.counter_totals, cache.hit_ratio.timeseries |
| How many MU cores were active? | device.active_mu_thread_equivalents.timeseries, parallelism.overview |
| Where did tasks run? | placement.sub_cluster_task_count, device.execution_timeline |
| What was copied between host and device? | copy.direction_summary, copy.events |
# List the IDs in the installed SDK, without a device or recording.
xtop catalog list
xtop catalog list --pattern 'cache.*'
# Read the meaning, units, columns, and supported query parameters.
xtop catalog describe cache.hit_ratio.timeseries
xtop catalog describe device.execution_timeline --json
# Export one catalog to a file, or several catalogs to a directory.
xtop export profile.xpti --catalog cache.counter_totals --output cache.csv
xtop export profile.xpti --catalog profile.duration_us --catalog profile.task_count --csv ./metrics
The list describes registered IDs, not the measurements available in every recording. Device, firmware, enabled probes, recorded events, format, and query scope determine whether an individual result is available. Read result quality and availability before interpreting an empty or partial result.
Catalog groups
| Group | Prefix | IDs |
|---|---|---|
| Session / Profile summary | profile.* | 7 |
| Device topology and execution | device.* | 6 |
| Probe coverage | probe.* | 1 |
| PXL execution facts | pxl.* | 2 |
| Host runtime activity | runtime.* | 6 |
| Observed parallelism | parallelism.* | 5 |
| Task placement and index distribution | placement.* | 2 |
| Task and launch-call duration | task.* | 5 |
| Cache counters and transfers | cache.* | 16 |
| Host/device memory copies | copy.* | 10 |
| Host event intervals | host.* | 1 |
Session / Profile summary
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
profile.collection_quality | dataset / table | Column-specific | Collection quality, ambiguous attribution, and recorded capture issues. |
profile.device_event_span_us | metric / scalar | us | First-to-last observed device event span, including idle gaps; not summed busy time. |
profile.duration_us | metric / scalar | us | Full session wall-clock duration, including setup, execution, drain, and teardown. |
profile.host_event_count | metric / scalar | count | Number of recorded host callback events. |
profile.run_facts | dataset / table | Column-specific | Recorded process, device, and session facts, including profile start/end in epoch microseconds. |
profile.session.notices | dataset / table | Column-specific | Reserved collection-notice table; currently unavailable (resolver_not_yet_implemented). |
profile.task_count | metric / scalar | count | Device task executions: distinct (Job, Map, profile key, generation, task index) identities. A Map executed N times counts its tasks N times. |
Device topology and execution
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
device.active_mu_thread_equivalents.timeseries | dataset / timeseries | count | Equivalent active execution threads per interval: MU busy ratio times thread capacity, summed over MUs. A count, not a ratio. |
device.cxl_memory_gb | metric / scalar | GB | CXL memory capacity; currently unavailable (not_in_session_metadata). |
device.execution_segments | dataset / table | Column-specific | Device task segments, or partial host overview envelopes when max_points is requested; envelopes are not exact device busy intervals. |
device.execution_timeline | dataset / table | Column-specific | Device task timing and placement. Use an epoch-millisecond viewport for large captures. |
device.id | metric / scalar | 1 | Zero-based device ID. Each .xpti represents one process/device session. |
device.mu_thread_count | metric / scalar | count | Execution-thread capacity from recorded topology, including num_thread_per_mu. |
Probe coverage
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
probe.coverage | dataset / table | Column-specific | Recorded probe presence and counts. The retained enabled field reflects observed rows/baselines, not the capture configuration. |
PXL execution facts
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
pxl.jobs | dataset / table | Column-specific | Per-Job metadata, Sub placement, task executions (task_count, counted like profile.task_count), and duration. |
pxl.maps | dataset / table | Column-specific | Per-Map metadata, Job/stream association, kernel, tasks of one execute (task_count), executes from host dispatches (execute_count), and duration. |
Host runtime activity
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
runtime.callback_duration.p95 | dataset / table | Column-specific | Host callback duration p95 by callback category. The retained stream_group column is all. |
runtime.host_phase.duration_per_execute | dataset / table | Column-specific | Host-observed phase durations for individual execute calls. |
runtime.host_phase.duration_summary | dataset / table | Column-specific | Aggregate host-observed PXL runtime phase durations. |
runtime.host_windows | dataset / table | Column-specific | Host-event timing windows used by report overlays. |
runtime.normalized_activity.timeseries | dataset / timeseries | normalized_activity | Independently peak-normalized activity series; not absolute queue depth or device utilization. |
runtime.stage_summary | dataset / table | Column-specific | Runtime stage durations and task-marker coverage. |
Observed parallelism
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
parallelism.device_task_concurrency.max | metric / scalar | count | Peak simultaneous device tasks from per-execution device spans. |
parallelism.device_task_concurrency.timeseries | dataset / timeseries | count | Concurrent tasks over time from per-execution device spans. |
parallelism.host_outstanding_tasks.timeseries | dataset / timeseries | count | Outstanding tasks over time from host dispatch/completion callbacks. |
parallelism.observed_mu_count | metric / scalar | count | Distinct observed (Sub, cluster, MU) tuples; not simultaneous active execution threads. |
parallelism.overview | dataset / table | Column-specific | Device parallelism summary of per-execution spans, used by the analysis report. |
Task placement and index distribution
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
placement.mu_thread_index_task_count | dataset / matrix | count | Task-execution counts by MU/thread indices, aggregated across Subs and clusters; equal indices share a matrix cell. |
placement.sub_cluster_task_count | dataset / matrix | count | Task-execution count matrix by observed Sub and cluster indices; dimensions are not fixed to one device generation. |
Task and launch-call duration
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
task.device_duration.histogram | dataset / histogram | us | Histogram of device-side durations, one per task execution. |
task.device_duration.percentiles | dataset / table | Column-specific | Device task-execution count and p50/p90/p95/p99/maximum durations. |
task.device_duration.samples | dataset / table | Column-specific | A device duration row per task execution, for duration-over-time analysis. |
task.device_duration.slowest | dataset / table | Column-specific | Slowest device task executions with duration and Sub/cluster/MU placement. |
task.host_launch_duration.histogram | dataset / histogram | us | Histogram of host launchTask call wall-clock durations; not complete task lifetimes. |
Cache counters and transfers
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
cache.counter_totals | dataset / table | Column-specific | Wrap-corrected counter totals by layer. The metric column contains counter keys, not necessarily catalog IDs. |
cache.hit_ratio.timeseries | dataset / timeseries | ratio | Cache hit ratios with interval boundaries and per-series validity masks. |
cache.l1.hit_ratio.by_sub | dataset / table | Column-specific | Read, write, and total L1 hit ratios for each recorded Sub. |
cache.l1.hit_ratio.read | metric / scalar | ratio | L1 read hit ratio. |
cache.l1.hit_ratio.total | metric / scalar | ratio | Combined read/write L1 hit ratio over the measured sample window. |
cache.l1.hit_ratio.write | metric / scalar | ratio | L1 write hit ratio. |
cache.l2.hit_ratio.by_sub | dataset / table | Column-specific | Combined L2 hit ratio per observed Sub. Columns: sub_id and total_hit_ratio. |
cache.l2.hit_ratio.read | metric / scalar | ratio | L2 read-request hit ratio (RRAT). |
cache.l2.hit_ratio.total | metric / scalar | ratio | Combined L2 hit ratio across RRAT, WRAT, SRAT, and TRAT. |
cache.l2.hit_ratio.write | metric / scalar | ratio | L2 write-request hit ratio (WRAT). |
cache.l2_to_l3.estimated_read_bytes | metric / scalar | bytes | Estimated L2-to-L3 read bytes; currently unavailable (fw_contract_pending). This is not DRAM bandwidth. |
cache.l2_to_l3.read_request_count | metric / scalar | count | L2-to-L3 read-request count; currently unavailable (fw_contract_pending). |
cache.l2_to_l3.transfer_unit_bytes | metric / scalar | bytes | Bytes per L2-to-L3 transfer unit; unavailable until the FW contract provides it. |
cache.l3.hit_ratio.read | metric / scalar | ratio | L3 read-request hit ratio (RRAT). |
cache.l3.hit_ratio.total | metric / scalar | ratio | Combined L3 hit ratio across PRAT, VRAT, RRAT, WRAT, and SRAT. |
cache.l3.hit_ratio.write | metric / scalar | ratio | L3 write-request hit ratio (WRAT). |
Host/device memory copies
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
copy.device_to_host.bytes | metric / scalar | bytes | Device-to-host bytes where copy size and direction were recorded. |
copy.device_to_host.count | metric / scalar | count | Observed device-to-host copy count. |
copy.device_to_host.paired_call_throughput | metric / scalar | GB_per_s | Paired device-to-host copy bytes divided by the sum of paired callback durations; excludes gaps and sums overlaps. |
copy.direction_summary | dataset / table | Column-specific | Copy count, bytes, duration, and bandwidth grouped by direction. |
copy.events | dataset / table | Column-specific | Paired copy events with direction, bytes, duration, and throughput. |
copy.host_to_device.bytes | metric / scalar | bytes | Host-to-device bytes where copy size and direction were recorded. |
copy.host_to_device.count | metric / scalar | count | Observed host-to-device copy count. |
copy.host_to_device.paired_call_throughput | metric / scalar | GB_per_s | Paired host-to-device copy bytes divided by the sum of paired callback durations; excludes gaps and sums overlaps. |
copy.total.bytes | metric / scalar | bytes | Sum of recorded host-to-device and device-to-host copy bytes. |
copy.total.count | metric / scalar | count | All observed host/device copies, including copies without a recorded direction. |
Host event intervals
| Catalog ID | Result | Unit | Meaning |
|---|---|---|---|
host.event_intervals | dataset / table | Column-specific | Host callback Enter/Exit intervals for the report occupancy lanes. |
Result quality and availability
Every query reports a status and reason codes. Registration is not a promise that the capture contains the necessary data.
| Status | How to interpret it |
|---|---|
observed | The result comes directly from recorded observations. |
directly_computed | The result is computed from recorded data. |
partial | Only part of the requested observation is supported; inspect the reason codes and validity fields. |
unavailable | No supported result can be returned. Use the reason codes to distinguish missing data, unsupported contracts, scope limits, and query resource limits. |
- Ratios use values from 0 to 1; a value of
0.95means 95%. Cache totals and ratios describe the measured session or Sub, not an individual task’s cache use. L2 total includes RRAT/WRAT/SRAT/TRAT, and L3 total includes PRAT/VRAT/RRAT/WRAT/SRAT. - Equivalent active MU values use core counts, not percentages. Runtime activity normalization is per series and does not make it MU utilization.
- A time-series
*_valid=0marks an unavailable or incomplete interval. Its numeric value is not a measured zero. A baseline alone is not a measured interval. Astart_ms/end_msviewport of a legacy (XPTI 1.5) recording’s cache or MU series that holds no samples but carries reason codes ispartial, not an observed empty series. - CSV export of an unavailable catalog fails with its reason.
xtop exportstages every catalog it was given before it replaces any file, so when one of them fails, that command publishes none of its CSV files and existing files stay unchanged. A partial result can be exported; retain its status, reason codes, and validity columns.
The following registered IDs have specific restrictions in this SDK:
| Catalog or family | Restriction |
|---|---|
device.cxl_memory_gb | Capacity is not in the session metadata (not_in_session_metadata). |
cache.l2_to_l3.transfer_unit_bytes | The firmware transfer-unit contract is not supplied (missing_transfer_unit_contract). |
cache.l2_to_l3.read_request_count, cache.l2_to_l3.estimated_read_bytes | The firmware contract is pending (fw_contract_pending). These are not substitutes for DRAM traffic measurements. |
profile.session.notices | The resolver is not implemented (resolver_not_yet_implemented); use profile.collection_quality to inspect recorded capture quality. |
Directional copy.* byte/bandwidth catalogs | Require the corresponding copy direction, size, and paired timing evidence. A missing direction is not a measured zero-byte transfer. |
device.execution_timeline, device.execution_segments | Large full-capture queries have an explicit materialization limit. Request a shorter start_ms/end_ms viewport or a Job/Map scope. See device execution viewports. |
pxl.maps execute_count | Counted from host TaskDispatch events. A Map without them reports the PXL executor-stats sample count, at most 16, as a lower bound (partial, execute_count_lower_bound_executor_samples). When another Job recorded the same Map ID, those stats cannot be attributed and the Map reports 0 (execute_count_executor_stats_ambiguous_job). A Job or Map scope returns the same count and reasons as the whole capture for its rows. |
Other IDs can also be unavailable when their probes or events were not collected. The reason from the actual recording takes precedence over a generic example.
Query parameters and scope
Use xtop catalog describe ID for the parameters accepted by the selected ID; parameters are not shared by every catalog.
| Parameter | Meaning where supported |
|---|---|
start_ms, end_ms | Absolute epoch milliseconds, not milliseconds since the capture started. |
offset, limit | Exact time-series paging. limit is at most 65,536; offset-only export continues through the remaining pages. For task.device_duration.slowest, limit is the number of slowest executions (default 5). |
max_points | An explicit bounded summary, with catalog-specific semantics and limits. Counter-series summaries combine counters before computing ratios. Device-lane overviews are partial envelopes. |
max_tasks | Maximum selected task identities for a bounded device execution query, at most 65,536. |
device_start_us, device_end_us | Device-time range of device.execution_timeline/device.execution_segments, in microseconds after the scope’s earliest device tick, for captures without host task lifetimes. Not combined with start_ms/end_ms or max_points. |
bins | Histogram bin count. |
profile.run_facts exposes profile start/end in epoch microseconds. Divide by 1,000 to choose an epoch-millisecond viewport. See the large-recording export example.
Job/Map scope is selected with --job-id/--map-id, or with scoped Profile API views. Support is catalog-specific. For example, profile.task_count supports Job scope, while cache catalogs currently reject it with filter_not_yet_implemented; they do not silently substitute whole-session values.
xtop export profile.xpti --catalog profile.task_count --job-id 1 --output job-task-count.csv
Device execution viewports
device.execution_timeline and device.execution_segments select complete executions for a viewport; an execution that crosses a boundary is returned whole. Their reason codes say how the viewport was served:
| Reason code | Meaning |
|---|---|
device_clock_host_lifetime_window | A recording without the projected clock index (XPTI 1.5 and older) selected the viewport’s executions from host task lifetimes and the device ticks of every execution in the scope, so each cluster’s clock offset is found. |
execution_window_executions_may_be_missing | That selection could not check every execution that may fall in the window: a budget stopped the scan, an execution’s MU has no read-time reference, or an execution’s host task events do not pair with it. Executions of the window may be missing from the rows. |
device_clock_device_order_window | A capture without host task lifetimes (DeviceOnly, or a device-only legacy file) selected them in recorded device order. |
unattributed_device_executions_excluded | The viewport left out device executions without a recorded Job/Map; no viewport can select them. A whole read still reports them. |
device_relative_range | The rows were selected by device_start_us/device_end_us and are partial: their times are on the device axis, not the host clock. |
execution_window_lane_budget_exceeded | The file names more execution lanes than the materialization limit, as a damaged or foreign file can; the viewport is refused. |
device_timestamp is the MU tick unwrapped in recorded order per lane over the scope, as a whole read counts wraps. Viewports and device ranges report the same value as a whole read, so rows from different viewports can be compared.
A device-only capture longer than one 32-bit MU clock wrap cannot be placed on the host clock. When it is too large to read whole, its start_ms/end_ms viewport exceeds the task or event budget and the refusal names device_start_us. Read it with device_start_us/device_end_us instead: consecutive ranges return the rows a whole read returns for them. A capture with host task lifetimes refuses a device range with invalid_query_parameter; use start_ms/end_ms there.
xtop export device-only.xpti --catalog device.execution_timeline --output part1.csv \
--param device_start_us=0 --param device_end_us=500000
Values that differ from XPTI 1.5
These catalogs return different values than XPTI 1.5.x for the same recording, under both their canonical and existing IDs. They now count every execution of a Map separately, so they agree with each other and with device.execution_timeline:
| Catalog | XPTI 1.6 | XPTI 1.5.x |
|---|---|---|
profile.task_count | Distinct (Job, Map, profile key, generation, task index) identities: task executions. | Distinct task indices. |
task.device_duration.*, parallelism.device_task_concurrency.*, parallelism.overview, placement.* | One span per task execution, from its first to its last MU tick, unwrapped across a 32-bit MU clock wrap. | One span per (Job, Map, task index) from the first execution’s launch to the last execution’s terminate; a span across a wrap was about 4.29e9 ticks long. |
pxl.jobs task_count | Task executions of the Job: a Map executed N times contributes its tasks N times. | Distinct task indices. |
pxl.maps execute_count | Distinct (profile key, generation) among the Map’s host TaskDispatch events. | Length of the PXL executor-stats sample list, at most 16. |
pxl.maps task_count remains the tasks of one execute of the Map. This SDK computes the new values from the recorded events, also for recordings made with XPTI 1.5; to compare with an earlier result, read both recordings with this SDK.
Compatibility with existing IDs
The catalog rename changes names only: an existing ID returns the same values, formulas, units, result types, columns, series keys, validity, quality statuses, and query parameters as its canonical ID. The 30 existing IDs below remain accepted by C++, Python, xtop catalog describe, and xtop export. xtop catalog list lists the 61 canonical IDs without duplicates. Explicit legacy glob patterns with no canonical matches (such as traffic.*) can still list their compatibility aliases.
Profile.catalogAliases() (Python profile.catalog_aliases()) returns the old-to-canonical mapping. info(old_id).id and get(old_id).id() retain the requested legacy ID; CSV catalog_id and caller-chosen filenames do too. New IDs use the existing values; a count-valued alias has not become a ratio.
Existing payload field names remain unchanged, including active_mu_cores, bandwidth_gbps (whose unit is still GB_per_s), core (thread index), and stream_group=all. Host task histograms still measure launch-call duration. Placement matrices still aggregate equal MU/thread indices across Subs/clusters. Per-stream grouping and new physical-placement dimensions are separate future features, not part of this name migration.
| Existing ID | Canonical ID |
|---|---|
cache.hit_rate.timeseries | cache.hit_ratio.timeseries |
cache.l1.per_sub_hit_rate | cache.l1.hit_ratio.by_sub |
cache.l2.per_sub_hit_rate | cache.l2.hit_ratio.by_sub |
copy.device_to_host.bandwidth | copy.device_to_host.paired_call_throughput |
copy.host_to_device.bandwidth | copy.host_to_device.paired_call_throughput |
copy.total_bytes | copy.total.bytes |
device.execution_clock | device.execution_timeline |
device.l2_to_l3.transfer_unit_bytes | cache.l2_to_l3.transfer_unit_bytes |
device.mu_cores | device.mu_thread_count |
device.mu_utilization.timeseries | device.active_mu_thread_equivalents.timeseries |
duration.task.histogram | task.device_duration.histogram |
duration.task.histogram_host | task.host_launch_duration.histogram |
duration.task.over_time | task.device_duration.samples |
duration.task.percentiles | task.device_duration.percentiles |
duration.task.slowest | task.device_duration.slowest |
lane.device_segments | device.execution_segments |
lane.host_segments | host.event_intervals |
parallelism.active_mu_cores | parallelism.observed_mu_count |
parallelism.device_concurrency | parallelism.device_task_concurrency.timeseries |
parallelism.host_concurrency | parallelism.host_outstanding_tasks.timeseries |
parallelism.max_concurrency | parallelism.device_task_concurrency.max |
phase.duration_breakdown | runtime.host_phase.duration_summary |
phase.duration_per_execute | runtime.host_phase.duration_per_execute |
placement.mu_core_task_count | placement.mu_thread_index_task_count |
profile.device_active_us | profile.device_event_span_us |
profile.total_us | profile.duration_us |
runtime.activity_timeline | runtime.normalized_activity.timeseries |
runtime.stream_p95 | runtime.callback_duration.p95 |
traffic.l2_to_l3.read.count | cache.l2_to_l3.read_request_count |
traffic.l2_to_l3.read.estimated_bytes | cache.l2_to_l3.estimated_read_bytes |
Generated C++ ID constants keep old symbols and values. The new constant for copy.total.bytes is copy_total_bytes_canonical, because its normalized spelling would otherwise collide with the existing copy_total_bytes symbol.
Using the Profile API
The same IDs are available through Python and C++:
import pyxpti
profile = pyxpti.Profile.open("profile.xpti")
print(profile.list_catalog("cache.*"))
print(profile.info("cache.counter_totals").description)
profile.export_csv("cache.csv", "cache.counter_totals")
#include <xpti/profile.hpp>
int main()
{
auto profile = xpti::Profile::open("profile.xpti");
auto ids = profile.listCatalog("cache.*");
auto entry = profile.info("cache.counter_totals");
profile.exportCsv("cache.csv", "cache.counter_totals");
}
Opening a recording whose writer holds an exclusive lock, for example while a capture is being finalized, waits up to 2 seconds for the lock instead of failing.
This page lists the IDs defined by the SDK’s pinned lib/xpti/xpti/metrics/metrics.yaml. The installed SDK’s xtop catalog list is the authority for its version; use describe ID --json for complete columns, series, supported parameters, and formulas. The XPTI source tree also provides lib/xpti/docs/profiling_catalog_reference.md as a detailed API reference.
For collecting profiles, see the xtop User Guide. For CSV handling and large recordings, see the Profiler Guide.