#include <OSWtimeSpec.h>
Public Member Functions | |
| OSWtimeSpec () | |
| Do nothing OSWtimeSpec constructor. | |
| OSWtimeSpec (struct timespec *ts) | |
| OSWtimeSpec constructor set up from a passed in timespec structure. | |
| OSWtimeSpec (time_t sec, long nSec) | |
| OSWtimeSpec constructor set up from passed in seconds and nanoseconds values. | |
| timespec * | timespec () const |
| Return the timespec structure. | |
| time_t | sec () const |
| Return the seconds portion of the timespec structure. | |
| long | nsec () const |
| Return the nanoseconds portion of the timespec structure. | |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
| OSWtimeSpec::OSWtimeSpec | ( | time_t | sec, | |
| long | nsec | |||
| ) | [inline] |
OSWtimeSpec constructor set up from passed in seconds and nanoseconds values.
| sec | Seconds value to initialize timespec value with | |
| nsec | Nanoseconds value to initialize timespec value with |
| long OSWtimeSpec::nsec | ( | ) | const [inline] |
Return the nanoseconds portion of the timespec structure.
| time_t OSWtimeSpec::sec | ( | ) | const [inline] |
Return the seconds portion of the timespec structure.
| struct timespec * OSWtimeSpec::timespec | ( | ) | const [inline] |
Return the timespec structure.
1.4.7