Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262253AbTEIAYJ (ORCPT ); Thu, 8 May 2003 20:24:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262254AbTEIAYJ (ORCPT ); Thu, 8 May 2003 20:24:09 -0400 Received: from x35.xmailserver.org ([208.129.208.51]:33194 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id S262253AbTEIAYI (ORCPT ); Thu, 8 May 2003 20:24:08 -0400 X-AuthUser: davidel@xmailserver.org Date: Thu, 8 May 2003 17:38:23 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@blue1.dev.mcafeelabs.com To: William Lee Irwin III cc: Chris Friesen , Linux Kernel Mailing List Subject: Re: how to measure scheduler latency on powerpc? realfeel doesn't work due to /dev/rtc issues In-Reply-To: <20030509001339.GQ8978@holomorphy.com> Message-ID: References: <3EBAD63C.4070808@nortelnetworks.com> <20030509001339.GQ8978@holomorphy.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 848 Lines: 22 On Thu, 8 May 2003, William Lee Irwin III wrote: > On Thu, May 08, 2003 at 06:12:12PM -0400, Chris Friesen wrote: > > I'm trying to test the scheduler latency on a powerpc platform. It appears > > that a realfeel type of program won't work since you can't program /dev/rtc > > to generated interrupts on powerpc. Is there anything similar which could > > be done? > > Why would you want to use an interrupt? Just count jiffies in sched.c I don't know what he does mean for scheduler latency, but if it is the ctx switch one something like get_cycles() will be better instead of jiffies. - Davide - 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/