.. | .. |
---|
492 | 492 | interval = t2 - t1; |
---|
493 | 493 | offset = (t2 + t1) / 2 - tp; |
---|
494 | 494 | |
---|
495 | | - printf("system time: %lld.%u\n", |
---|
| 495 | + printf("system time: %lld.%09u\n", |
---|
496 | 496 | (pct+2*i)->sec, (pct+2*i)->nsec); |
---|
497 | | - printf("phc time: %lld.%u\n", |
---|
| 497 | + printf("phc time: %lld.%09u\n", |
---|
498 | 498 | (pct+2*i+1)->sec, (pct+2*i+1)->nsec); |
---|
499 | | - printf("system time: %lld.%u\n", |
---|
| 499 | + printf("system time: %lld.%09u\n", |
---|
500 | 500 | (pct+2*i+2)->sec, (pct+2*i+2)->nsec); |
---|
501 | 501 | printf("system/phc clock time offset is %" PRId64 " ns\n" |
---|
502 | 502 | "system clock time delay is %" PRId64 " ns\n", |
---|