Return-Path: william@bourbon.usc.edu Delivery-Date: Fri Sep 19 14:18:05 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 m8JLI5Bh013722 for ; Fri, 19 Sep 2008 14:18:05 -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 m8JLJngX014174 for ; Fri, 19 Sep 2008 14:19:49 -0700 Message-Id: <200809192119.m8JLJngX014174@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Prj 2 Date: Fri, 19 Sep 2008 14:19:49 -0700 From: Bill Cheng Someone wrote: > Bill Cheng wrote: > > 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 > > Could we also assume service time ranges from 1 to 10000, if mu is too > small or too large? GetInterval() is a generic function. It doesn't care if you are doing inter-arrival time or service time. You can use it for anything you want, if appropriate. -- Bill Cheng // bill.cheng@usc.edu