Lines Matching refs:fraction
1903 int fraction; in timestamp() local
1909 fraction = Lsp->pr_tstamp.tv_nsec - Cp->basetime.tv_nsec; in timestamp()
1910 if (fraction < 0) { in timestamp()
1912 fraction += NANOSEC; in timestamp()
1915 fraction = (fraction + 50000) / 100000; in timestamp()
1916 if (fraction >= (MILLISEC * 10)) { in timestamp()
1918 fraction -= (MILLISEC * 10); in timestamp()
1922 (void) printf("%2d.%4.4d\t", seconds, fraction); in timestamp()
1926 int ofraction = pri->fraction; in timestamp()
1929 pri->fraction = fraction; in timestamp()
1931 fraction -= ofraction; in timestamp()
1932 if (fraction < 0) { in timestamp()
1934 fraction += (MILLISEC * 10); in timestamp()
1936 (void) printf("%2d.%4.4d\t", seconds, fraction); in timestamp()
1941 fraction = Lsp->pr_stime.tv_nsec - pri->syslast.tv_nsec; in timestamp()
1943 if (fraction < 0) { in timestamp()
1945 fraction += NANOSEC; in timestamp()
1948 fraction = (fraction + 50000) / 100000; in timestamp()
1949 if (fraction >= (MILLISEC * 10)) { in timestamp()
1951 fraction -= (MILLISEC * 10); in timestamp()
1953 (void) printf("%2d.%4.4d\t", seconds, fraction); in timestamp()