-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can be used in virtualized environment such as virtualbox or kvm ? #99
Comments
@baiwfg2 - yes, you can, probably, but you would need to use a different "timer" which is the thing that times regions of code. Pass
This timer just uses standard wall-clock time methods to do the timing, and will still convert that to cycles using a calibration loop. Depending on how often frequency changes are in your environment, this can still produce very accurate results in cycles, e.g., on my system w/o any special adjustment:
|
(I forget if uarch-bench will automatically fall back to "clock" timer if the others don't work) |
@travisdowns I see. The reason I mentioned PMU is that I see PMU counters output in this Denis's post. The results(including yours in the comment) output |
I know PMU is not supported in virtualbox linux. I'm wondering whether such environment is suitable for using uarch-bench
The text was updated successfully, but these errors were encountered: