Changeset 90733a86 in rtems for doc/user/clock.t


Ignore:
Timestamp:
Nov 16, 2012, 1:14:03 PM (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
94eb1bb
Parents:
bfddb047
git-author:
Sebastian Huber <sebastian.huber@…> (11/16/12 13:14:03)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/21/12 15:29:40)
Message:

rtems: Add rtems_clock_get_uptime_seconds()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user/clock.t

    rbfddb047 r90733a86  
    2424@item @code{@value{DIRPREFIX}clock_get_uptime} - Get time since boot
    2525@item @code{@value{DIRPREFIX}clock_get_uptime_timeval} - Get time since boot in timeval format
     26@item @code{@value{DIRPREFIX}clock_get_uptime_seconds} - Get seconds since boot
    2627@item @code{@value{DIRPREFIX}clock_set_nanoseconds_extension} - Install the nanoseconds since last tick handler
    2728@item @code{@value{DIRPREFIX}clock_tick} - Announce a clock tick
     
    706707@c
    707708@page
     709@subsection CLOCK_GET_UPTIME_SECONDS - Get the seconds since boot
     710
     711@cindex clock get uptime
     712@cindex uptime
     713
     714@subheading CALLING SEQUENCE:
     715
     716@ifset is-C
     717@findex rtems_clock_get_uptime_seconds
     718@example
     719time_t rtems_clock_get_uptime_seconds(void);
     720@end example
     721@end ifset
     722
     723@subheading DIRECTIVE STATUS CODES:
     724
     725The system uptime in seconds.
     726
     727@subheading DESCRIPTION:
     728
     729This directive returns the seconds since the system was booted.
     730
     731@subheading NOTES:
     732
     733This directive may be called from an ISR.
     734
     735@c
     736@c
     737@c
     738@page
    708739@subsection CLOCK_SET_NANOSECONDS_EXTENSION - Install the nanoseconds since last tick handler
    709740
Note: See TracChangeset for help on using the changeset viewer.