Return to prim CVS log | Up to [gforth] / gforth |
version 1.258, 2011/10/18 13:13:53 | version 1.259, 2011/11/21 01:37:12 |
---|---|
Line 2033 duser = timeval2us(&time1); | Line 2033 duser = timeval2us(&time1); |
dsystem = DZERO; | dsystem = DZERO; |
#endif | #endif |
ntime ( -- dtime ) gforth | |
""Report the current time in nanoseconds since some epoch."" | |
struct timespec t; | |
clock_gettime(CLOCK_REALTIME,&t); | |
dtime = timespec2ns(&t); | |
\+ | \+ |
\+floating | \+floating |