Audio (104) Datatype (15) Demo (56) Development (247) Document (64) Driver (19) Emulation (62) Game (533) Graphics (229) Library (22) Network (63) Office (22) Utility (271) Video (18)
Total files: 1725
Full index file Recent index file
Part of Aros World Exec |
[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] ***************************************
Sortbench is a CPU stress test
Sortbench is part of the CPU benchmark suite build for the APOLLO CPU project.
***************************************
Project Homepage
http://www.apollo-core.com/sortbench/
Sortbench is a CPU benchmark.
The test does on purpose not use the fastest possible sort,
but uses an algorithm which stresses certain parts of the CPU.
The testcase stresses the following CPU features:
1) Data-Cache
2) Branch Prediction / Conditional Code Execution (IF THEN)
3) Loop Performance
4) Memory Hazard Detection
The test does not generate a Hazard.
But the test does mixed read/write operations to the same Data Cache line.
This is a typical behaviour for a program working with the stack.
To run the test please compile like
gcc -o sortbench -O2 sortbench.c
The sourcecode is free to use.
Have fun!
Gunnar von Boehn
|