Changeset bf4d016 in rtems


Ignore:
Timestamp:
Apr 2, 2007, 6:22:56 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
812da54
Parents:
d4f8287
Message:

2007-04-02 Joel Sherrill <joel@…>

  • user/clock.t: Add clock_get_uptime().
Location:
doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/ChangeLog

    rd4f8287 rbf4d016  
     12007-04-02      Joel Sherrill <joel@OARcorp.com>
     2
     3        * user/clock.t: Add clock_get_uptime().
     4
    152007-03-28      Chris Johns <chrisj@rtems.org>
    26
  • doc/user/clock.t

    rd4f8287 rbf4d016  
    2020@item @code{@value{DIRPREFIX}clock_set} - Set system date and time
    2121@item @code{@value{DIRPREFIX}clock_get} - Get system date and time information
     22@item @code{@value{DIRPREFIX}clock_get_uptime} - Get time since boot
    2223@item @code{@value{DIRPREFIX}clock_set_nanoseconds_extension} - Install the nanoseconds since last tick handler
    2324@item @code{@value{DIRPREFIX}clock_tick} - Announce a clock tick
     
    447448@c
    448449@page
     450@subsection CLOCK_GET_UPTIME - Get the time since booy
     451
     452@cindex clock get uptime
     453@cindex uptime
     454
     455@subheading CALLING SEQUENCE:
     456
     457@ifset is-C
     458@findex rtems_clock_get_uptime
     459@example
     460rtems_status_code rtems_clock_get_uptime(
     461  struct timespec *uptime
     462);
     463@end example
     464@end ifset
     465
     466@ifset is-Ada
     467@example
     468NOT SUPPORTED FROM Ada BINDING
     469@end example
     470@end ifset
     471
     472@subheading DIRECTIVE STATUS CODES:
     473@code{@value{RPREFIX}SUCCESSFUL} - clock tick processed successfully@*
     474@code{@value{RPREFIX}INVALID_ADDRESS} - @code{time_buffer} is NULL
     475
     476@subheading DESCRIPTION:
     477
     478This directive returns the seconds and nanoseconds since the
     479system was booted.  If the BSP supports nanosecond clock
     480accuracy, the time reported will probably be different on every
     481call.
     482
     483@subheading NOTES:
     484
     485This directive may be called from an ISR.
     486
     487@c
     488@c
     489@c
     490@page
    449491@subsection CLOCK_TICK - Announce a clock tick
    450492
Note: See TracChangeset for help on using the changeset viewer.