7

BENCH_INNER : lmbench3.0 src code macro query

view full story
linux-howto

http://stackoverflow.com – I was reading the MHZ - Anatomy of a Benchmark paper by the creators of lmbench and source browsing the code alongside. The paper can be downloaded @ MHz : Anatomy of a Microbenchmark Source Code lmbench-3.0 authored by Carl Staelin and Larry McVoy Inside the BENCH_INNER() macro I have a doubt : #define BENCH_INNER(loop_body, enough) { \ static iter_t __iterations = 1; \ int __enough = get_enough(enough); \ iter_t __n; \ double __result = 0.; \ (HowTos)