Re: [RFC PATCH 0/3] perf: show package power consumption in perf

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Zhang Rui
Date: Thursday, August 19, 2010 - 1:31 am

On Thu, 2010-08-19 at 15:54 +0800, Matt Fleming wrote:

right.

BTW, I'm not quite familiar with perf tool, and now I'm wondering if the
periodically sample is needed.
because IMO, .start is invoked every time the process is scheduled in,
and .stop is invoked when it's scheduled out. It seems that we just need
to read the energy consumed in .start and .stop, and update the counter
in .stop, right?

thanks,
rui

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH 0/3] perf: show package power consumption i ..., Zhang Rui, (Thu Aug 19, 1:31 am)
Re: [RFC PATCH 0/3] perf: show package power consumption i ..., Frederic Weisbecker, (Fri Aug 20, 6:18 pm)