Benchmarking within the hypervisor
adilahmad17 opened this issue · comments
Adil Ahmad commented
Hey,
I was wondering if there is a timer implementation in Bareflank, basically
for benchmarking purposes?
I can see that bfsdk
uses chrono
for benchmarking but it seems that the function benchmark(..)
hangs whenever I call it within my hypervisor pass (basically similar to the hook example). Any ideas?
Thanks!
Rian Quinn commented
There isn't. Actually, we have worked pretty hard to ensure that Bareflank doesn't need a timer, and relies on the host operating system for timing, scheduling, etc...
Adil Ahmad commented
Ah, I see. Thanks for the information anyways! :)