Lines Matching defs:nsec
79 fmtydhmsf(char *b, size_t l, intmax_t t, long nsec, int ht)
119 if (nsec)
120 nsec = (nsec + 500000) / 1000000; /* now milliseconds */
122 if (nsec && ht == 2) {
123 while (prec > 0 && (nsec % 10) == 0)
124 --prec, nsec /= 10;
126 if (nsec || ht > 2)
127 APPENDS(s, prec, nsec);
134 pnsec(long nsec, long fsec, int scale)
137 printf("%6.6ld", (nsec + 499) / 1000);
158 long nsec, fsec;
348 for (nsec = fsec, j = 9 - scale; --j >= 0; )
349 nsec *= 10;
357 if (nsec + boottime.tv_nsec >=
378 pnsec(nsec, fsec, scale);
381 struct timespec nt = { sec, nsec };