Lines Matching refs:stime
254 acct->stime -= sst; in accumulate_stolen_time()
289 unsigned long stime; in vtime_delta() local
297 stime = now - acct->starttime; in vtime_delta()
317 *stime_scaled = stime; in vtime_delta()
319 if (deltascaled != stime + utime) { in vtime_delta()
321 *stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta()
329 return stime; in vtime_delta()
334 unsigned long stime, stime_scaled, steal_time; in vtime_account_system() local
337 stime = vtime_delta(tsk, &stime_scaled, &steal_time); in vtime_account_system()
339 stime -= min(stime, steal_time); in vtime_account_system()
343 acct->gtime += stime; in vtime_account_system()
347 acct->hardirq_time += stime; in vtime_account_system()
349 acct->softirq_time += stime; in vtime_account_system()
351 acct->stime += stime; in vtime_account_system()
360 unsigned long stime, stime_scaled, steal_time; in vtime_account_idle() local
363 stime = vtime_delta(tsk, &stime_scaled, &steal_time); in vtime_account_idle()
364 acct->idle_time += stime + steal_time; in vtime_account_idle()
393 if (acct->stime) in vtime_flush()
394 account_system_index_time(tsk, cputime_to_nsecs(acct->stime), in vtime_flush()
412 acct->stime = 0; in vtime_flush()