Bareflank / hypervisor

lightweight hypervisor SDK written in C++ with support for Windows, Linux and UEFI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Benchmarking within the hypervisor

adilahmad17 opened this issue · comments

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!

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...

Ah, I see. Thanks for the information anyways! :)