====== 運行 EEMBC ====== 到 ''Test Harness -> Source Code'' 下載 eembc-1.1.zip 和 eembc-2.0R2.zip,它們是 driver。 - AutoBench。 $ unzip eembc-1.1.zip $ ls eembc-1.1.zip makelite makelite.bat makereg makereg.bat makeworld.dsw me.bat th th_lite util $ unzip automotive-1.1.zip; cd automotive $ make # gcc_time.log 存放測量數據。 - DENBench。 $ tar xvf DENBench.tgz; cd DENBench $ wget http://somewhere/eembc-2.0R2.zip; unzip eembc-2.0R2.zip $ ./install-2.0R2.sh # UNIX 系統上不需要 MS VC。 $ rm -f util/make/vc.mak $ make # gcc_xxx_lite.log 存放測量數據。 * 4.3 Log Files: 日誌名稱格式為 ''__.log''。 * compiler name: 編譯器名稱。 * results type: 可為 size、time 或是 psnr。 * regular or lite: 不同編譯器選項。 * 5 Understanding the Results: * 量測編譯所得執行檔的大小。 $ head -n2 gcc_sizev2_lite.log Benchmark Text Data BSS Total huffde 38400 39448 1264 79112 * 量測運行時間及所得結果是否正確。 Subcommittee Benchmark Dataset Error? Description Expected CRC Actual CRC Iterations Duration Timer Rate Iterations/Sec Run Time Time/Iter CON huffde huffde Huffman Decoder Benchmark V2.0R2 0x7776 0x7776 1000 550000 1000000 1818.181818182 0.550000000 0.000550000 * psnr (Peak Signal to Noise Ratio) 用來量測影像品質。訊號越高,噪音越低越好。 $ head -n2 gcc_psnrv2_lite.log Benchmark Arithmetic Mean Variance Minimum Frames All Zero Frames Exact Match Frames mp3playerfixeddata1 7.798442 0.310408 2.921525 609 2 0 ====== 外部連結 ====== * [[http://www.eembc.org/|EEMBC]]