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.
书籍暂未推出简体中文版——当前显示英文版。
Quantitative Finance · 术语表
什么是 Microbenchmark, compiler barrier?
又称: microbenchmark · compiler barrier