KiCad PCB EDA Suite
Loading...
Searching...
No Matches
BENCH_REPORT Struct Reference

Public Attributes

unsigned linesRead
 
unsigned charAcc
 Char accumulator, used to prevent compilers optimising away otherwise unused line buffers, and also as a primitive sanity check that the same lines were read.
 
std::chrono::milliseconds benchDurMs
 

Detailed Description

Definition at line 45 of file io_benchmark.cpp.

Member Data Documentation

◆ benchDurMs

std::chrono::milliseconds BENCH_REPORT::benchDurMs

Definition at line 56 of file io_benchmark.cpp.

Referenced by executeBenchMark(), and io_benchmark_func().

◆ charAcc

unsigned BENCH_REPORT::charAcc

Char accumulator, used to prevent compilers optimising away otherwise unused line buffers, and also as a primitive sanity check that the same lines were read.

Definition at line 54 of file io_benchmark.cpp.

Referenced by bench_fstream(), bench_fstream_reuse(), bench_line_reader(), bench_line_reader_reuse(), bench_string_lr(), bench_string_lr_reuse(), bench_wxbis(), bench_wxbis_reuse(), bench_wxis(), bench_wxis_reuse(), and io_benchmark_func().

◆ linesRead


The documentation for this struct was generated from the following file: