cpupowerutils: bench - ConfigStyle bugfixes
[linux-2.6.git] / tools / power / cpupower / bench / benchmark.h
index 0691f91..51d7f50 100644 (file)
 
 /* load loop, this schould take about 1 to 2ms to complete */
 #define ROUNDS(x) {unsigned int rcnt;                         \
-               for (rcnt = 0; rcnt< x*1000; rcnt++) { \
-                       (void)(((int)(pow(rcnt, rcnt) * sqrt(rcnt*7230970)) ^ 7230716) ^ (int)atan2(rcnt, rcnt)); \
-               }}                                                      \
+               for (rcnt = 0; rcnt < x*1000; rcnt++) { \
+                       (void)(((int)(pow(rcnt, rcnt) * \
+                                     sqrt(rcnt*7230970)) ^ 7230716) ^ \
+                                     (int)atan2(rcnt, rcnt));         \
+               } }                                                     \
 
 
 void start_benchmark(struct config *config);