Return-Path: william@bourbon.usc.edu Delivery-Date: Wed Oct 29 09:46:47 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m9TGklUh021117 for ; Wed, 29 Oct 2008 09:46:47 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m9TGw82p018396 for ; Wed, 29 Oct 2008 09:58:08 -0700 Message-Id: <200810291658.m9TGw82p018396@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: CPU Hog Date: Wed, 29 Oct 2008 09:58:08 -0700 From: Bill Cheng Someone wrote: > And yes, this problem is quite inconsistent. Its not always that I see > my process in one of the top slots. You need to debug! My guess is that you have an uninitialized variable somewhere so your timer thread sleeps a random number of microseconds! -- Bill Cheng // bill.cheng@usc.edu