Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Quantitative Finance · Glossaire

Qu'est-ce que « Microbenchmark, compiler barrier » ?

Aussi appelé : microbenchmark · compiler barrier

Definition 2.3 Low-Latency Software · Chapitre 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.

Lire dans le chapitre →