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

lkl tools: test: fix error in nanosleep timing code in boot.c #31

Merged
merged 1 commit into from
Dec 11, 2015

Commits on Dec 11, 2015

  1. lkl tools: test: fix error in nanosleep timing code in boot.c

    The nanosleep test code in test/boot.c was computing delta as (stop.tv_sec -
    start.tv_sec) + (stop.tv_nsec - start.tv_nsec). Clearly, if delta is in
    nanoseconds then (stop.tv_sec - start.tv_sec) needs to be multiplied by 1e9.
    
    Signed-off-by: Mark Stillwell <mark@stillwell.me>
    marklee77 committed Dec 11, 2015
    Configuration menu
    Copy the full SHA
    d803e4f View commit details
    Browse the repository at this point in the history