7 lines
323 B
Markdown
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.
|