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

Fix #429, OS_time_t with single tick counter #735

Merged

Commits on Jan 14, 2021

  1. Fix nasa#429, update OS_time_t definition to 64-bit ticks

    Use a single 64-bit tick counter as OS_time_t, rather than
    a split 32 bit seconds + 32 bit microseconds counter.
    
    This benefits in several ways:
    
    - increases the timing precision by 10x (0.1us ticks)
    - increases the representable range by 400x (+/-14000 yrs)
    - simplifies addition/subtraction (no carry over)
    - avoids "year 2038" bug w/32-bit timestamps
    jphickey committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    7e34a2c View commit details
    Browse the repository at this point in the history