lkml.org 
[lkml]   [2007]   [Nov]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 3 Nov 2007 14:32:59 +0530
From"Balbir Singh" <>
SubjectRe: [PATCH] Restore deterministic CPU accounting on powerpc
> +#ifndef CONFIG_VIRT_CPU_ACCOUNTING
> +void account_process_tick(int user_tick)
> +{
> +       if (user_tick) {
> +               account_user_time(p, jiffies_to_cputime(1));
> +               account_user_time_scaled(p, jiffies_to_cputime(1));
> +       } else {
> +               account_system_time(p, HARDIRQ_OFFSET, jiffies_to_cputime(1));
> +               account_system_time_scaled(p, jiffies_to_cputime(1));
> +       }
> +}
> +#endif
> +

Hi, Paul,

So, scaled accounting will not be available if
CONFIG_VIRT_CPU_ACCOUNTING is defined? Am I reading this correctly

Balbir Singh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-03 10:05    [from the cache]
©2003-2008