Return-Path: william@bourbon.usc.edu Delivery-Date: Wed Sep 17 17:57:09 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.3 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 m8I0v94L017277 for ; Wed, 17 Sep 2008 17:57:09 -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 m8I0wQIV001331 for ; Wed, 17 Sep 2008 17:58:26 -0700 Message-Id: <200809180058.m8I0wQIV001331@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Prj 2 Date: Wed, 17 Sep 2008 17:58:26 -0700 From: Bill Cheng Someone wrote: > " The return value of GetInterval() should be an integer having a > unit of milliseconds. To make things easier to manage, we limit > the value of this integer to be between 1 and 10,000. This means > that before GetInterval() returns, you must examine the value it > plans to return. If it's too small, set it to 1, if it's too > large, set it to 10,000. This also applies to the values you read > from tsfile. " > > Does it mean if rate is 0 must return 10000 and if value > returned by GetInterval is < 1 then we should return 1? Correct! -- Bill Cheng // bill.cheng@usc.edu