Lines Matching refs:stime
244 acct->stime -= sst; in accumulate_stolen_time()
275 unsigned long now, unsigned long stime) in vtime_delta_scaled() argument
298 stime_scaled = stime; in vtime_delta_scaled()
300 if (deltascaled != stime + utime) { in vtime_delta_scaled()
302 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled()
318 unsigned long now, stime; in vtime_delta() local
324 stime = now - acct->starttime; in vtime_delta()
327 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta()
331 return stime; in vtime_delta()
336 unsigned long stime, stime_scaled, steal_time; in vtime_account_kernel() local
339 stime = vtime_delta(tsk, &stime_scaled, &steal_time); in vtime_account_kernel()
341 stime -= min(stime, steal_time); in vtime_account_kernel()
345 acct->gtime += stime; in vtime_account_kernel()
351 acct->hardirq_time += stime; in vtime_account_kernel()
353 acct->softirq_time += stime; in vtime_account_kernel()
355 acct->stime += stime; in vtime_account_kernel()
366 unsigned long stime, stime_scaled, steal_time; in vtime_account_idle() local
369 stime = vtime_delta(tsk, &stime_scaled, &steal_time); in vtime_account_idle()
370 acct->idle_time += stime + steal_time; in vtime_account_idle()
413 if (acct->stime) in vtime_flush()
414 account_system_index_time(tsk, cputime_to_nsecs(acct->stime), in vtime_flush()
429 acct->stime = 0; in vtime_flush()