Dhrystone is a synthetic computing benchmark program developed in 1984 by Reinhold P. Weicker intended to be representative of system (integer) programming. The name is a pun on a floating-point benchmark algorithm called Whetstone.
Dhrystone is an example project in the list of Nios II C/C++ Applications. You will need to make a new system library, which configures the timer as a timestamp server (rather than a cpu clock timer). Right click on the system library project and look at the library properties page. For the DE2 board, you may need to change the timestamp settings to "timer".
You can compile and run the Altera version of Dhrystone on your PC. (download project files)
My results, on sys2 and my laptop were:
|Microseconds for one run through Dhrystone||15.3||0.3|
|Dhrystones per Second||65357.5||3846153.8|
|VAX MIPS rating||37.198||2189.046|
Dhrystone White Paper (from www.ebenchmarks.com)
Weicker, Reinhold. "Dhrystone: A Synthetic Systems Programming Benchmark" Communications of the ACM (CACM), Volume 27, Number 10, October 1984, p. 1013-1030
Maintained by John Loomis, last updated 17 November 2008