3303-flashcards/hATaBiZQ - 3303/mGn5xDIO - How does a Sampling Profiler determine where a program is spending its time.md
gwg313 e83b60af4f
first commit
update readme

reformat
2026-04-20 23:10:20 -04:00

7 lines
323 B
Markdown

## How does a **Sampling Profiler** determine where a program is spending its time?
---
📉 It **periodically samples the instruction counter** and uses a symbol table to map those instructions to specific methods or procedures. The percentage of total counts per method represents the percentage of time spent there.