Skip to content
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

Crash when RDTSCP is not available #14

Closed
rokups opened this issue May 5, 2020 · 2 comments
Closed

Crash when RDTSCP is not available #14

rokups opened this issue May 5, 2020 · 2 comments

Comments

@rokups
Copy link
Contributor

rokups commented May 5, 2020

I have encountered a situation where tracy fails on (bit old) x64 laptop because RDTSCP instruction is not available. It appears that we can not assume RDTSCP presence on x86-64 platforms.

@wolfpld
Copy link
Owner

wolfpld commented May 5, 2020

This is both by design and no longer an issue. Due to unrelated reasons, Tracy v0.6 uses RDTSC instead of RDTSCP. If that is still a problem (as it apparently can be, in cloud environment), you can use the TRACY_TIMER_QPC macro on master branch to use low-resolution system timer.

@wolfpld wolfpld closed this as completed May 5, 2020
@rokups
Copy link
Contributor Author

rokups commented May 5, 2020

Oh great, i will have my user retest, now that i upgraded. Thank you. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants