• 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
..
arm Loading commit data...
x86 Loading commit data...
checkasm.c Loading commit data...
checkasm.h Loading commit data...
ipred.c Loading commit data...
itx.c Loading commit data...
loopfilter.c Loading commit data...
mc.c Loading commit data...