ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/State.xs
(Generate patch)

Comparing Coro/Coro/State.xs (file contents):
Revision 1.360 by root, Mon Jun 29 06:14:23 2009 UTC vs.
Revision 1.361 by root, Wed Jul 1 07:26:40 2009 UTC

402 402
403 ts.tv_sec = ts.tv_nsec = 0; 403 ts.tv_sec = ts.tv_nsec = 0;
404 coro_clock_gettime (CORO_CLOCK_MONOTONIC, &ts); 404 coro_clock_gettime (CORO_CLOCK_MONOTONIC, &ts);
405 time_real [0] = ts.tv_sec; time_real [1] = ts.tv_nsec; 405 time_real [0] = ts.tv_sec; time_real [1] = ts.tv_nsec;
406#else 406#else
407 dTHX;
407 UV tv[2]; 408 UV tv[2];
408 409
409 u2time (aTHX_ &tv); 410 u2time (aTHX_ &tv);
410 time_real [0] = tv [0]; 411 time_real [0] = tv [0];
411 time_real [1] = tv [1] * 1000; 412 time_real [1] = tv [1] * 1000;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines