From mboxrd@z Thu Jan 1 00:00:00 1970 From: miloody@gmail.com (loody) Date: Thu, 6 Jan 2011 14:53:02 +0800 Subject: Questions about complete In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org hi: 2011/1/6 Pavan Savoy : > On Thu, Jan 6, 2011 at 11:48 AM, loody wrote: >> >> Dear all: >> I know complete will wake up the process who call wait_complete. >> Is there any methods I can use to measure how long from calling >> complete to the process that detect done=1? >> Regards, >> miloody > > returned value of wait_for_completion_timeout ? No. I want to measure the duration of complete to the time of wake up process who is pending on wait. thank you.