Return-Path: william@bourbon.usc.edu Delivery-Date: Thu Sep 18 10:53:34 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 m8IHrY1D028920 for ; Thu, 18 Sep 2008 10:53:34 -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 m8IHt177021400 for ; Thu, 18 Sep 2008 10:55:01 -0700 Message-Id: <200809181755.m8IHt177021400@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Prj 2 timeofday Date: Thu, 18 Sep 2008 10:55:01 -0700 From: Bill Cheng Someone wrote: > Just a small query. Do we need to consider the day as well when > we are calculating time intervals ? I mean will the program be > run at midnight ? Yes! Just write a function to calculate the different between two time value returned by gettimeofday()! -- Bill Cheng // bill.cheng@usc.edu