pix_get_cpu_samples
Retrieve CPU samples for a thread from a PIX capture to identify when the thread ran and on which core, enabling analysis of execution time and scheduling.
Instructions
Where one thread's CPU time went, as PIX's sampler saw it.
One row per sample: the sampler interrupted the machine, found this thread running, and recorded when and on which core. Counting samples in a time range is how much of that range the thread spent executing; the spread of core ids is whether the scheduler kept it in one place.
No instruction pointer comes back with these - resolving a sample to a function needs PIX's symbol server, which is a UI concern - so this answers when a thread ran, not what line it was on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| end_time | No | ||
| thread_id | Yes | ||
| capture_id | Yes | ||
| start_time | No | ||
| cursor_position | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||