Searched refs:clk_tck (Results 1 – 4 of 4) sorted by relevance
38 static unsigned int clk_tck; in fmtclock() local40 if (!clk_tck) in fmtclock()43 clk_tck = CLOCKS_PER_SEC; in fmtclock()45 if (!(clk_tck = (unsigned int)strtoul(astconf("CLK_TCK", NiL, NiL), NiL, 10))) in fmtclock()46 clk_tck = 60; in fmtclock()53 t = (t * 1000000) / clk_tck; in fmtclock()
106 int clk_tck; /* number of ticks per second */ member
535 # define dtime(tp) (((double)times(tp))/sh.lim.clk_tck)1103 shp->lim.clk_tck = getconf("CLK_TCK"); in sh_init()1120 if(shp->lim.clk_tck <=0) in sh_init()1121 shp->lim.clk_tck = CLK_TCK; in sh_init()
90 frac = t%sh.lim.clk_tck; in l_time()91 frac = (frac*100)/sh.lim.clk_tck; in l_time()93 t /= sh.lim.clk_tck; in l_time()150 d = (double)tm[n]/sh.lim.clk_tck; in p_time()1926 at = shp->lim.clk_tck*(ta.tv_sec-tb.tv_sec); in sh_exec()1927 at += ((shp->lim.clk_tck*(((1000000L/2)/shp->lim.clk_tck)+(ta.tv_usec-tb.tv_usec)))/1000000L); in sh_exec()