Changeset 4b889d in git for kernel/timer.cc
- Timestamp:
- Oct 13, 2010, 4:27:07 PM (14 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d8bea6a01d65c731d77843ab1d42d5132a89ac9e
- Parents:
- 959ce8cf3526914e1147194757d731686bd0d825
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/timer.cc
r959ce8 r4b889d 140 140 } 141 141 142 #ifdef HAVE_GETTIMEOFDAY143 142 /*0 Real timer implementation*/ 144 143 int rtimerv = 0; … … 148 147 void initRTimer() 149 148 { 149 #ifdef HAVE_GETTIMEOFDAY 150 150 gettimeofday(&startRl, &tzp); 151 151 gettimeofday(&siStartRTime, &tzp); 152 #else 153 memset(&startRl,0,sizeof(startRl)); 154 memset(&startRTime,0,sizeof(startRTime)); 155 #endif 152 156 } 153 157 … … 202 206 Print("//%s %.2f sec \n" ,v ,f); 203 207 } 204 #endif
Note: See TracChangeset
for help on using the changeset viewer.