Go to the source code of this file.
Value:{unsigned int rcnt; \
for (rcnt = 0; rcnt <
x*1000; rcnt++) { \
(
void)(((
int)(pow(rcnt, rcnt) * \
sqrt(rcnt*7230970)) ^ 7230716) ^ \
(
int)atan2(rcnt, rcnt)); \
} } \
Definition at line 21 of file benchmark.h.
benchmark generates a specific sleep an load time with the performance governor and compares the used time for same calculations done with the configured powersave governor
- Parameters
-
config | config values for the benchmark |
Definition at line 91 of file benchmark.c.