This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
gettimeofday with interrupts disabled
- From: "Aziz Eker" <aeker at ncsu dot edu>
- To: systemtap at sources dot redhat dot com
- Date: Sun, 7 May 2006 21:24:26 -0400
- Subject: gettimeofday with interrupts disabled
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=lgmKgsCUsqnGI3PZEsQHhrabjlt/uYJBNCeozdxmH11y35O52uhnWrrLE8niJYwWnjzOuoK4zu/dQd1EM2/sngVNv76Wzh3Izi7IDEFL8GjDPv+27s0NFako3BlXL8ZsAoRlefsVf7j4xJzsZbfPSOdZL4AkHERlTmlD5zRdTkw=
- References: <2107e7ae0605071820v5e1c0819n6d59746963fa0114@mail.gmail.com>
- Reply-to: azizeker at gmail dot com
Hi,
I want to get some measurements about the time scheduler_tick()
function takes. To do that, I am finding time difference between the
start and end of the function using 'gettimeofday_us'. However, the
scheduler_tick() function is called with interrupts disabled. Does
'gettimeofday' continue to run even when interrupts are disabled? If
not, is there anyway to count the RTC in systemtap?
Thanks,
Aziz