Menu

#2535 base: Add function for reading the node boot time

5.17.11
fixed
None
enhancement
base
-
minor
False
2017-10-30
2017-07-27
No

Add a function osaf_get_boot_time() which returns the time stamp when the node was last booted. This is needed at least by CLM, since CLM shall present the boot time of each node in an IMM attribute.

Related

Tickets: #2537
Wiki: ChangeLog-5.17.11

Discussion

  • Anders Widell

    Anders Widell - 2017-07-28
    • status: accepted --> review
     
  • Anders Widell

    Anders Widell - 2017-08-04
    • status: review --> fixed
     
  • Anders Widell

    Anders Widell - 2017-08-04

    commit 66bbcb907ca7acc083c1613e5ccfcbfef89d7d1a
    Author: Anders Widell an..@..com
    Date: Fri Aug 4 10:48:05 2017 +0200

    base: Add osaf_get_boot_time and osaf_timespec_average functions [#2535]
    
    The osaf_get_boot_time function returns the time stamp when the node was booted.
    The osaf_timespec_average function returns the average of two time stamps.
    
     

Log in to post a comment.