看板 Grad-ProbAsk 關於我們 聯絡資訊
題目一: 1.Compiling a same C program on two different computers,A and B, as follows, which of the following is correct? --------------------------------------------------------------- | | A | B | --------------------------------------------------------------- |Instruction count | 10 billion | unknown | --------------------------------------------------------------- | Clock rate | 4 GHz | 5 GHz | --------------------------------------------------------------- | CPI | 1.0 | 1.2 | --------------------------------------------------------------- 問題一: 想請問以下兩個選項有辦法算出來嗎? (A)The instruction count on B must be greater than 9.6 billion. (B)The program will spend less CPU time on B. 另外想問在什麼條件下,ExTime A才可以等於ExTime B,並算出unknown的地方? 題目二: http://ppt.cc/289N 問題二: 想請問畫線地方想表達的是什麼意思?是代表指令個數嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.193.221.223
Reylod:2: 模擬floating point instruction所需的指令數目 10/16 20:46
numin:謝謝R大的回答。 10/16 21:01
Murasaki0110:AB條件不足,話說這題D好像也對 但答案只給C 10/16 21:47
numin:謝謝M大的回答,D一開始我也以為是對的,後來感覺他應該是要 10/16 22:04
numin:問B應該要大於多少才對,而不是問B的值是否大於10 billion。 10/16 22:05
numin:另外想請問一下,何時才能用ExTime A =ExTime B去解unknown? 10/16 22:06
Murasaki0110:只有題目說他們一樣的時候 10/16 22:13
Reylod:XDDD 10/16 22:55
numin:恩恩,感謝兩位。 10/17 21:01