Changeset e32205 in git
- Timestamp:
- Aug 2, 2011, 10:43:27 AM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 0a80331a686854fd8c674703b79f6fab0608d93a
- Parents:
- 5ddb8d5d7efafd17c8372dcc69d4fc43adbf4be6
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-08-02 10:43:27+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:01:20+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/timer.cc
r5ddb8d re32205 8 8 */ 9 9 #include <sys/resource.h> 10 #include <time.h> 11 #include <sys/time.h> 10 12 #include <unistd.h> 11 13 … … 145 147 static struct timeval siStartRTime; 146 148 static struct timezone tzp; 149 150 void startRTimer() 151 { 152 gettimeofday(&siStartRTime, &tzp); 153 } 154 147 155 void initRTimer() 148 156 { … … 152 160 #else 153 161 memset(&startRl,0,sizeof(startRl)); 154 memset(&startRTime,0,sizeof(startRTime)); 155 #endif 156 } 157 158 void startRTimer() 159 { 160 gettimeofday(&siStartRTime, &tzp); 162 memset(&siStartRTime,0,sizeof(siStartRTime)); 163 #endif 161 164 } 162 165
Note: See TracChangeset
for help on using the changeset viewer.