Dhrystone DMIPS跑分原理以及CPU&NPU等效算力分析

下载dhrystone,编译,排错,再编译,再排错,编译PASS,一顿操作之后,dhrystone成功被移植到某款Cortex-A7平台,主频跑1.2G HZ的情况下,测试结果如下:

msh />dhrystone
 
Dhrystone Benchmark, Version 2.1 (Language: C)
 
Program compiled without 'register' attribute
 
Please give the number of runs through the benchmark: 
Execution starts, 100000000 runs through Dhrystone
Execution ends
 
Final values of the variables used in the benchmark:
 
Int_Glob:            5
        should be:   5
Bool_Glob:           1
        should be:   1
Ch_1_Glob:           A
        should be:   A
Ch_2_Glob:           B
        should be:   B
Arr_1_Glob[8]:       7
        should be:   7
Arr_2_Glob[8][7]:    100000010
        should be:   Number_Of_Runs + 10
Ptr_Glob->
  Ptr_Comp:          -1029845352
        should be:   (implementation-dependent)
  Discr:             0
        should be:   0
  Enum_Comp:         2
        should be:   2
  Int_Comp:          1

你可能感兴趣的:(算法,人工智能,嵌入式系统,DMIPS,dhrystone,ARM,benchmark)