Lines Matching refs:stime
245 acct->stime -= sst; in accumulate_stolen_time()
276 unsigned long now, unsigned long stime) in vtime_delta_scaled() argument
299 stime_scaled = stime; in vtime_delta_scaled()
301 if (deltascaled != stime + utime) { in vtime_delta_scaled()
303 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled()
319 unsigned long now, stime; in vtime_delta() local
325 stime = now - acct->starttime; in vtime_delta()
328 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta()
332 return stime; in vtime_delta()
337 unsigned long stime, stime_scaled, steal_time; in vtime_account_kernel() local
340 stime = vtime_delta(tsk, &stime_scaled, &steal_time); in vtime_account_kernel()
342 stime -= min(stime, steal_time); in vtime_account_kernel()
346 acct->gtime += stime; in vtime_account_kernel()
352 acct->hardirq_time += stime; in vtime_account_kernel()
354 acct->softirq_time += stime; in vtime_account_kernel()
356 acct->stime += stime; in vtime_account_kernel()
367 unsigned long stime, stime_scaled, steal_time; in vtime_account_idle() local
370 stime = vtime_delta(tsk, &stime_scaled, &steal_time); in vtime_account_idle()
371 acct->idle_time += stime + steal_time; in vtime_account_idle()
414 if (acct->stime) in vtime_flush()
415 account_system_index_time(tsk, cputime_to_nsecs(acct->stime), in vtime_flush()
430 acct->stime = 0; in vtime_flush()