• Martin Storsjö's avatar
    checkasm: Don't use readtime for checkasm seed · 7d3cebc4
    Martin Storsjö authored
    On ARM, the readtime implementations are instructions that might
    not always be allowed at runtime (depending on whether the kernel
    has allowed user mode code to access the cycle counter registers).
    In order to allow building checkasm with the option for benchmarking,
    while still running on devices where benchmarking isn't possible,
    don't use readtime anywhere unless --bench has been specified.
    
    Use GetTickCount for the seed on windows, and gettimeofday on unix.
    7d3cebc4
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
src Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
THANKS.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...