Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Quantitative Finance · Begrippenlijst

Wat is Sampling profiler, hardware performance counter?

Ook bekend als: sampling profiler · hardware performance counter

Definition 5.8 Low-Latency Software · Hoofdstuk 5 — Measuring Latency

A sampling profiler interrupts a program at regular intervals (of time or of hardware events) and records where it was, estimating the share of time spent in each function. A hardware performance counter is a register of the processor that counts events (cycles, instructions retired, cache misses, branch mispredictions) for the code running on a core; on Linux they are read through perf_event_open and the perf tool.

Lees in het hoofdstuk →