Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Quantitative Finance · Glossário

O que é Microbenchmark, compiler barrier?

Também chamado de: microbenchmark · compiler barrier

Definition 2.3 Low-Latency Software · Capítulo 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.

Ler no capítulo →