I currently use the seL4bench to test some benchmarks. I use a for loop to evaluate the performance of my benchmark, and the results show that the performance of the first loop is 20 times slower than the next loops, and the next loops are steady. The following are the APIs I used in my experiment.
seL4_BenchmarkResetThreadUtilisation(simple_get_tcb(&env.simple));
seL4_BenchmarkResetLog();
test_suits();
seL4_BenchmarkFinalizeLog();
seL4_BenchmarkGetThreadUtilisation(simple_get_tcb(&env.simple))
And the following are the evaluation results.
