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
593 # define dtime(tp) (((double)times(tp))/shgd->lim.clk_tck)1290 shgd->lim.clk_tck = getconf("CLK_TCK"); in sh_init()1300 if(shgd->lim.clk_tck <=0) in sh_init()1301 shgd->lim.clk_tck = CLK_TCK; in sh_init()
195 frac = t%shgd->lim.clk_tck; in l_time()196 frac = (frac*100)/shgd->lim.clk_tck; in l_time()198 t /= shgd->lim.clk_tck; in l_time()255 d = (double)tm[n]/shp->gd->lim.clk_tck; in p_time()2644 at = shp->gd->lim.clk_tck*(ta.tv_sec-tb.tv_sec); in sh_exec()2645 …at += ((shp->gd->lim.clk_tck*(((1000000L/2)/shp->gd->lim.clk_tck)+(ta.tv_usec-tb.tv_usec)))/10000… in sh_exec()