看板 Grad-ProbAsk 關於我們 聯絡資訊
1.Assume that a C program is compiled into 1000 machine instruction, which are related to the size of the executable file. Then, the average execution time is usually equal to multiplying 1000(instructions) by its average CPI and the clock cycle time. 這段敘述錯的地方是因為程式執行的指令數不一定是1000嗎? 2. The two properties critical to program correctness that are normally preserved by control dependency 這句看不太懂@_@ 是説比control dependency 更不能出錯的兩個性質? 3. 另外有關Two-level page table 它每個level只會有一個page table 被載入到記憶體 所以Two level就只會有兩個page table在記憶體 Three level 就是三個 這樣講有錯嗎? 謝謝了 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 42.70.132.93
gn123:exTime 跟instrution count有關不是machine code數目吧 01/06 23:17
bcza245682:可以請問machine op 數跟instructin count的差別嗎 01/06 23:29
gn123:抱歉推文時腦袋不清楚,剛再想是不是pipeline,可是pipeline也 01/07 13:03
gn123:是[(s-1)+n]*cycle time,所以好像也不是@@" 01/07 13:04
gn123:machine code跟library routine被link成excutable file,所以 01/07 13:08
gn123:指令應該不只1000~ 01/07 13:08
justbearcry:題目有句related to the size of the executable 01/07 15:11
justbearcry:file 不是表示machine code和 executable file 指令 01/07 15:11
justbearcry:數相同? 01/07 15:12