Due date: On or before Monday, February 12, 2024 Absolutely no copying others’ works |
Name: ___________________________ |
Processor | Clock Rate | CPI |
---|---|---|
P1 | 2.5 GHz | 2.0 |
P2 | 2.0 GHz | 1.5 |
Compiler A | Compiler B | ||
---|---|---|---|
Instruction count | Execution time | Instruction count | Execution time |
2.0×109 | 2.0 s | 1.0×109 | 2.5 s |
TA/Tn
where
TA
: the execution time by using the A compiler and
Tn
: the execution time by using the new compiler.
TA/Tn