Changeset db242b1 in git


Ignore:
Timestamp:
Oct 15, 1998, 4:13:22 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
7d6efe4f357a62dceeb677ff7b195fd1445d7096
Parents:
77ff8e26463d0b2d6d61c497d5e9481b95774339
Message:
*** empty log message ***


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

Legend:

Unmodified
Added
Removed
  • Singular/timer.cc

    r77ff8e rdb242b1  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: timer.cc,v 1.10 1998-04-27 10:45:21 pohl Exp $ */
     4/* $Id: timer.cc,v 1.11 1998-10-15 14:13:22 Singular Exp $ */
    55
    66/*
     
    157157{
    158158  struct timeval now;
    159  
     159
    160160  gettimeofday(&now, &tzp);
    161161
     
    165165    now.tv_sec --;
    166166  }
    167  
     167
    168168  double f =((double)  (now.tv_sec - startRl.tv_sec))*timer_resolution +
    169169    ((double) (now.tv_usec - startRl.tv_usec))*timer_resolution /
    170170    (double) 1000000;
    171  
     171
    172172  return (int)(f+0.5);
    173173}
     
    188188    now.tv_sec --;
    189189  }
    190  
     190
    191191  double f =((double)  (now.tv_sec - siStartRTime.tv_sec)) +
    192192    ((double) (now.tv_usec - siStartRTime.tv_usec)) /
     
    194194
    195195  if (f > mintime)
    196    Print("//%s %.2f sec \n" ,v ,f); 
     196   Print("//%s %.2f sec \n" ,v ,f);
    197197}
    198198#endif
Note: See TracChangeset for help on using the changeset viewer.