[gforth] / gforth / prim  

gforth: gforth/prim

Diff for /gforth/prim between version 1.259 and 1.260

version 1.259, Mon Nov 21 01:37:12 2011 UTC version 1.260, Mon Nov 21 19:05:01 2011 UTC
Line 2035 
Line 2035 
   
 ntime   ( -- dtime )    gforth  ntime   ( -- dtime )    gforth
 ""Report the current time in nanoseconds since some epoch.""  ""Report the current time in nanoseconds since some epoch.""
 struct timespec t;  struct timespec time1;
 clock_gettime(CLOCK_REALTIME,&t);  clock_gettime(CLOCK_REALTIME,&time1);
 dtime = timespec2ns(&t);  dtime = timespec2ns(&time1);
   
 \+  \+
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1.259  
changed lines
  Added in v.1.260

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help