Lines Matching refs:stime

237 	acct->stime -= sst;  in accumulate_stolen_time()
266 unsigned long now, unsigned long stime) in vtime_delta_scaled() argument
289 stime_scaled = stime; in vtime_delta_scaled()
291 if (deltascaled != stime + utime) { in vtime_delta_scaled()
293 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled()
309 unsigned long now, stime; in vtime_delta() local
314 stime = now - acct->starttime; in vtime_delta()
317 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta()
321 return stime; in vtime_delta()
325 unsigned long *stime, unsigned long *stime_scaled) in vtime_delta_kernel() argument
329 *stime = vtime_delta(acct, stime_scaled, &steal_time); in vtime_delta_kernel()
330 *stime -= min(*stime, steal_time); in vtime_delta_kernel()
337 unsigned long stime, stime_scaled; in vtime_account_kernel() local
339 vtime_delta_kernel(acct, &stime, &stime_scaled); in vtime_account_kernel()
342 acct->gtime += stime; in vtime_account_kernel()
347 acct->stime += stime; in vtime_account_kernel()
357 unsigned long stime, stime_scaled, steal_time; in vtime_account_idle() local
360 stime = vtime_delta(acct, &stime_scaled, &steal_time); in vtime_account_idle()
361 acct->idle_time += stime + steal_time; in vtime_account_idle()
367 unsigned long stime, stime_scaled; in vtime_account_irq_field() local
369 vtime_delta_kernel(acct, &stime, &stime_scaled); in vtime_account_irq_field()
370 *field += stime; in vtime_account_irq_field()
428 if (acct->stime) in vtime_flush()
429 account_system_index_time(tsk, cputime_to_nsecs(acct->stime), in vtime_flush()
444 acct->stime = 0; in vtime_flush()