tools/power/cpupower/bench/benchmark.h

Source file repositories/reference/linux-study-clean/tools/power/cpupower/bench/benchmark.h

File Facts

System
Linux kernel
Corpus path
tools/power/cpupower/bench/benchmark.h
Extension
.h
Size
503 bytes
Lines
17
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#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));	       \
		} }							\


void start_benchmark(struct config *config);

Annotation

Implementation Notes