Changeset 4b889d in git for kernel/timer.cc


Ignore:
Timestamp:
Oct 13, 2010, 4:27:07 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d8bea6a01d65c731d77843ab1d42d5132a89ac9e
Parents:
959ce8cf3526914e1147194757d731686bd0d825
Message:
RTIMER simplification

git-svn-id: file:///usr/local/Singular/svn/trunk@13480 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/timer.cc

    r959ce8 r4b889d  
    140140}
    141141
    142 #ifdef HAVE_GETTIMEOFDAY
    143142/*0 Real timer implementation*/
    144143int rtimerv = 0;
     
    148147void initRTimer()
    149148{
     149#ifdef HAVE_GETTIMEOFDAY
    150150  gettimeofday(&startRl, &tzp);
    151151  gettimeofday(&siStartRTime, &tzp);
     152#else
     153  memset(&startRl,0,sizeof(startRl));
     154  memset(&startRTime,0,sizeof(startRTime));
     155#endif
    152156}
    153157
     
    202206   Print("//%s %.2f sec \n" ,v ,f);
    203207}
    204 #endif
Note: See TracChangeset for help on using the changeset viewer.