參數資料
型號: BENCHMARKING
英文描述: Benchmarking the Am186EM: Using the Dhrystone V2.1 As An Example Application Note? 1.66MB (PDF)
中文描述: 基準Am186EM:作為示例應用注意Dhrystone的V2.1版本? 1.66MB(PDF格式)
文件頁數: 36/88頁
文件大?。?/td> 1701K
代理商: BENCHMARKING
36
As a final note, use of file I/O and the timers themselves by the benchmark is not
allowed. The current development tools do not support disk file transactions
such as ‘fopen()’ or ‘fgetc()’. The timers are off-limits because they are being
used to time the benchmark.
Instrumenting the Code
As can be seen in the “dhry_1.c “ source code, all that is needed is to follow this
simple template.
The AMD supplied files include a directory called ‘bench’. In this directory is a
set of files which allow you to simply edit your benchmark source code into an
existing file “bench.c” (edit out what is already there). After you copy the needed
Paradigm and Borland files into this directory you should be able to type ‘make’
at the DOS prompt to have a completed benchmark named “bench.axe”.
In your include section:
#include “timer.h” // required for operation of the counter timers
#include “eleds.h” // optional, allows you to see start and stop of your program
In your main() section:
T_Time Ttest_time; // structure to hold the contents of the counter timer registers
float loop_time,total_time,bench_time; // times stored in seconds
In your initialization code section (inside main()):
ledinit(); // initialize the LED outputs
nowait(); // set the Am186EM to
0
wait states
timer_init(); // initialize the counter timers and set all counts to 0
Just before you start into the timed code:
/***************/
/* Start timer */
/***************/
#ifdef AM186EM // optional, conditional compilation,
If your benchmark requires multiple passes, you
must insert this code. The time consumed in the
loop overhead must be subtracted out of the total
running time (as done here). If you do not have an
outer loop like this omit this section of the code.
相關PDF資料
PDF描述
BF-21 High Efficiency 1X/1.5X/2X Charge Pump for White LED Applications
BF-22 Current Limited Load Switch
BF1102R Dual N-channel dual gate MOS-FETs
BF173 ECONOLINE: RJZ & RGZ - 2W Single and Dual Outputs in DIP 14 - 3kVDC and 4kVDC Isolation - Optional Continuous Short Circuit Protected - Custom Solutions Available - UL94V-0 Package Material - Efficiency up to 85%
BF200B TRANSISTOR | BJT | NPN | 20V V(BR)CEO | 20MA I(C) | TO-92
相關代理商/技術參數
參數描述
BENCR5P3016B 功能描述:控制開關 ENCLOS DISCON SWITC RoHS:否 制造商:Omron Industrial 控制類型:Emergency Stop 觸點額定值:5 A at 125 VAC 觸點形式:1 Form B (SPST-NC) 電壓額定值: 電流額定值: 執(zhí)行器:Pushbutton 照明:N 安裝風格:
BENCR5P3040B 功能描述:控制開關 ENCLOS DISCON SWITC RoHS:否 制造商:Omron Industrial 控制類型:Emergency Stop 觸點額定值:5 A at 125 VAC 觸點形式:1 Form B (SPST-NC) 電壓額定值: 電流額定值: 執(zhí)行器:Pushbutton 照明:N 安裝風格:
BEND-M162GT 制造商:PMA 功能描述:M16 STR CONDUIT FITTING
BENELI-81-ALL-ELECTR 制造商:TE Connectivity 功能描述:CS4901-000
BENFREIGHTPROMET!A 制造商:Amphenol Corporation 功能描述: