Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Quantitative Finance · Begrippenlijst

Wat is Microbenchmark, compiler barrier?

Ook bekend als: microbenchmark · compiler barrier

Definition 2.3 Low-Latency Software · Hoofdstuk 2 — CPU Microarchitecture

A microbenchmark times a small piece of code in isolation, many times, to measure one property of the machine or of the code. A compiler barrier is a statement the compiler must treat as reading or writing memory (or a given value) although it emits no instruction; it stops the optimiser from deleting or moving the code being timed.

Lees in het hoofdstuk →