/////////////////////////////////////////////////////////////////////////////// // // Time.cxx // // The Time object provides access to the system's time. // // // BSVC "A Microprocessor Simulation Framework" // Copyright (c) 1993 // By: Bradford W. Mott // August 12,1993 // /////////////////////////////////////////////////////////////////////////////// // $Id: Time.cxx,v 1.1 1996/08/02 14:53:33 bwmott Exp $ /////////////////////////////////////////////////////////////////////////////// #include #include "Time.hxx" /////////////////////////////////////////////////////////////////////////////// // Answers the current system time in seconds /////////////////////////////////////////////////////////////////////////////// long Time::seconds() { return (long)time(0); }