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, add OS_time_t access functions #723

Merged
merged 3 commits into from
Jan 13, 2021

Commits on Dec 31, 2020

  1. Fix nasa#429, update OSAL code to use time accessors

    Do not access members of OS_time_t directly, instead
    use conversion/accessor inline functions to get the
    desired value.
    
    Update the "stat" structure output by OS_stat to use
    the OS_time_t struct instead of int32, and update
    the OS_stat implemention to transfer the full resolution
    if it supports it (POSIX.1-2008 or newer).
    jphickey committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    ccbaca0 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. Fix nasa#429, check time conversions in coverage test

    Add test cases to coverage test to validate all basic
    OS_time_t access operations and conversions.
    jphickey committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    779d3e3 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. Fix nasa#429, add "assemble" routines for milli/microsecs

    Add OS_TimeAssembleFromMilliseconds and OS_TimeAssembleFromMicroseconds
    for a complete set of conversion routines in both directions.
    jphickey committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    f09c57e View commit details
    Browse the repository at this point in the history