200 likes | 384 Views
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).
E N D
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)
Debugging skills (3/4) • Examining the contents of variables (P2-11)
Debugging skills (4/4) • Examining the contents of variables • Addresses and contents of variables(P2-12)
Software Quality Measurement • Performance benchmarking (P2-20)
Exercise results (1/9) • IDCT使用cosine與以float方式計算的code size 20.71kB
Exercise results (2/9) • 整數運算的code size (ARM code) 10.45kB
Exercise results (3/9) • IDCT用cosine及float計算的程式執行時間 2460968
Exercise results (4/9) • 整數運算的程式執行時間 (ARM code) 34035
Exercise results (5/9) • 用cosine及float的emulator configure 10MHz Map file
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
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 計算結果相同
Exercise results (8/9) • 整數運算計算的code size (thumb code) 7.95kB (ARM: 9.95kB)
Exercise results (9/9) • 整數運算的程式執行時間 (thumb code) 66156 (ARM為34035)
Discussion • 選擇較適合的演算法可以節省不少記憶體空間,增加效能 • 如預期地,thumb的程式碼較小,但效能較差
Reference • MPEG video compression techniquehttp://rnvs.informatik.tu-chemnitz.de/~jan/MPEG/HTML/mpeg_tech.html • Lab 2 tutorial