Lines Matching refs:stime

186 					unsigned long now, unsigned long stime)  in vtime_delta_scaled()  argument
209 stime_scaled = stime; in vtime_delta_scaled()
211 if (deltascaled != stime + utime) { in vtime_delta_scaled()
213 stime_scaled = deltascaled * stime / (stime + utime); in vtime_delta_scaled()
229 unsigned long now, stime; in vtime_delta() local
234 stime = now - acct->starttime; in vtime_delta()
237 *stime_scaled = vtime_delta_scaled(acct, now, stime); in vtime_delta()
245 return stime; in vtime_delta()
249 unsigned long *stime, unsigned long *stime_scaled) in vtime_delta_kernel() argument
253 *stime = vtime_delta(acct, stime_scaled, &steal_time); in vtime_delta_kernel()
254 *stime -= min(*stime, steal_time); in vtime_delta_kernel()
261 unsigned long stime, stime_scaled; in vtime_account_kernel() local
263 vtime_delta_kernel(acct, &stime, &stime_scaled); in vtime_account_kernel()
266 acct->gtime += stime; in vtime_account_kernel()
271 acct->stime += stime; in vtime_account_kernel()
281 unsigned long stime, stime_scaled, steal_time; in vtime_account_idle() local
284 stime = vtime_delta(acct, &stime_scaled, &steal_time); in vtime_account_idle()
285 acct->idle_time += stime + steal_time; in vtime_account_idle()
291 unsigned long stime, stime_scaled; in vtime_account_irq_field() local
293 vtime_delta_kernel(acct, &stime, &stime_scaled); in vtime_account_irq_field()
294 *field += stime; in vtime_account_irq_field()
352 if (acct->stime) in vtime_flush()
353 account_system_index_time(tsk, cputime_to_nsecs(acct->stime), in vtime_flush()
368 acct->stime = 0; in vtime_flush()