Mercurial > ecos
comparison packages/kernel/current/tests/tm_basic.cxx @ 2624:b5a47c710485
* tests/tm_basic.cxx (max): Was wrong way round. Resolves issue
1000636.
| author | jlarmour |
|---|---|
| date | Fri, 14 Nov 2008 14:26:09 +0000 |
| parents | b3804ba9e6b1 |
| children | 8f706d6bdc35 |
comparison
equal
deleted
inserted
replaced
| 2623:b3804ba9e6b1 | 2624:b5a47c710485 |
|---|---|
| 208 void run_counter_tests(void); | 208 void run_counter_tests(void); |
| 209 void run_flag_tests(void); | 209 void run_flag_tests(void); |
| 210 void run_alarm_tests(void); | 210 void run_alarm_tests(void); |
| 211 | 211 |
| 212 #ifndef max | 212 #ifndef max |
| 213 #define max(n,m) ((m) > (n) ? (n) : (m)) | 213 #define max(n,m) ((m) > (n) ? (m) : (n)) |
| 214 #endif | 214 #endif |
| 215 | 215 |
| 216 // Wait until a clock tick [real time clock] has passed. This should keep it | 216 // Wait until a clock tick [real time clock] has passed. This should keep it |
| 217 // from happening again during a measurement, thus minimizing any fluctuations | 217 // from happening again during a measurement, thus minimizing any fluctuations |
| 218 void | 218 void |
