linux/arch/powerpc/include/asm/cputime.h
/*
 * Called from the context switch with interrupts disabled, to charge all
 * accumulated times to the current process, and to prepare accounting on
 * the next process.
 */
Called from the context switch with interrupts disabled, to charge all
accumulated times to the current process, and to prepare accounting on
the next process.
Called from the context switch with interrupts disabled to charge all accumulated times to the current process and to prepare accounting on the next process .
static inline void arch_vtime_task_switch(struct task_struct *prev)
{
	struct cpu_accounting_data *acct = get_accounting(current);
	struct cpu_accounting_data *acct0 = get_accounting(prev);
	acct->starttime = acct0->starttime;
	acct->startspurr = acct0->startspurr;
}
static inline void arch_vtime_task_switch ( struct task_struct * prev ) { struct cpu_accounting_data * acct = get_accounting ( current ) ; struct cpu_accounting_data * acct0 = get_accounting ( prev ) ; acct -> starttime = acct0 -> starttime ; acct -> startspurr = acct0 -> startspurr ; }
Called from the context switch with interrupts disabled, to charge all
 accumulated times to the current process, and to prepare accounting on
 the next process.
Called from the context switch with interrupts disabled to charge all accumulated times to the current process and to prepare accounting on the next process .