public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* why no duration[00000000000000000000] for C1 state?
@ 2006-01-29 10:07 Miernik
  2006-02-04 21:32 ` Dominik Brodowski
  0 siblings, 1 reply; 2+ messages in thread
From: Miernik @ 2006-01-29 10:07 UTC (permalink / raw)
  To: linux-acpi

On
http://ck.kolivas.org/patches/dyn-ticks/split-out/C-States-3_accounting_of_sleep_times.patch
it says: "Also track the actual time spent in C-States (C2 upwards, we
can't determine this for C1), not only the number of invocations." Why
we cannot have time spent in C1? Would it also be possible to have time
spent in C0 and/or total time of the statistics? And/or % of time spent
in each state?

-- 
Miernik             _________________________  xmpp:miernik@amessage.info
___________________/_______________________/      mailto:miernik@ffii.org
                       Save Europe from Software Patents
                http://www.gnu.org/philosophy/savingeurope.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: why no duration[00000000000000000000] for C1 state?
  2006-01-29 10:07 why no duration[00000000000000000000] for C1 state? Miernik
@ 2006-02-04 21:32 ` Dominik Brodowski
  0 siblings, 0 replies; 2+ messages in thread
From: Dominik Brodowski @ 2006-02-04 21:32 UTC (permalink / raw)
  To: Miernik; +Cc: linux-acpi

Hi,

On Sun, Jan 29, 2006 at 11:07:22AM +0100, Miernik wrote:
> On
> http://ck.kolivas.org/patches/dyn-ticks/split-out/C-States-3_accounting_of_sleep_times.patch
> it says: "Also track the actual time spent in C-States (C2 upwards, we
> can't determine this for C1), not only the number of invocations." Why
> we cannot have time spent in C1?

Once an interrupt awakes the CPU, the interrupt is handled immediately if
the CPU was in C1, while on C2 or C3, the idle handler is executed at first,
allowing to measure the "stop" time.

> Would it also be possible to have time
> spent in C0 and/or total time of the statistics? And/or % of time spent
> in each state?

That can be done in userspace.

	Dominik

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-04 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-29 10:07 why no duration[00000000000000000000] for C1 state? Miernik
2006-02-04 21:32 ` Dominik Brodowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox