1 / 18

Debugging and Evaluation

Debugging and Evaluation. 第五組 r91921071 黃乙丞 r91921017 陳宏明 r91921087 許以達. Outline. Experiment Debugging skills Software Quality Measurement Exercise Discussion References. Debugging skills (1/4). Setting a breakpoint (P2-4). Debugging skills (2/4). Setting a Watchpoint (P2-7).

kipling
Download Presentation

Debugging and Evaluation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Debugging and Evaluation 第五組 r91921071 黃乙丞 r91921017 陳宏明 r91921087 許以達

  2. Outline • Experiment • Debugging skills • Software Quality Measurement • Exercise • Discussion • References

  3. Debugging skills (1/4) • Setting a breakpoint (P2-4)

  4. Debugging skills (2/4) • Setting a Watchpoint (P2-7)

  5. Debugging skills (3/4) • Examining the contents of variables (P2-11)

  6. Debugging skills (4/4) • Examining the contents of variables • Addresses and contents of variables(P2-12)

  7. Software Quality Measurement • Performance benchmarking (P2-20)

  8. Exercise results (1/9) • IDCT使用cosine與以float方式計算的code size 20.71kB

  9. Exercise results (2/9) • 整數運算的code size (ARM code) 10.45kB

  10. Exercise results (3/9) • IDCT用cosine及float計算的程式執行時間 2460968

  11. Exercise results (4/9) • 整數運算的程式執行時間 (ARM code) 34035

  12. Exercise results (5/9) • 用cosine及float的emulator configure 10MHz Map file

  13. Exercise results (6/9) • 用cosine的執行結果 general 8x8 array: 700 ,0 ,100 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 doing IDCT.... After IDCT: 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103

  14. Exercise results (7/9) • 只用整數計算的執行結果 general 8x8 array: 700 ,0 ,100 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 doing IDCT.... After IDCT: 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 103 ,94 ,80 ,71 ,71 ,80 ,94 ,103 計算結果相同

  15. Exercise results (8/9) • 整數運算計算的code size (thumb code) 7.95kB (ARM: 9.95kB)

  16. Exercise results (9/9) • 整數運算的程式執行時間 (thumb code) 66156 (ARM為34035)

  17. Discussion • 選擇較適合的演算法可以節省不少記憶體空間,增加效能 • 如預期地,thumb的程式碼較小,但效能較差

  18. Reference • MPEG video compression techniquehttp://rnvs.informatik.tu-chemnitz.de/~jan/MPEG/HTML/mpeg_tech.html • Lab 2 tutorial

More Related