/
benchmark.cpp
1 #include "benchmark.h"
2
3 #include <QByteArray>
4
5 static QByteArray array("foobar");
6
7 extern "C" {
8
9 CL_SMOKE_BENCHMARK_EXPORT void
10 cl_smoke_benchmark_byte_array_size(size_t iterations)
11 {
12 for(size_t i=0; i< iterations; i++)
13 array.at(0);
14 }
15
16 } // extern "C"