Chuong4-Dinh thoi bieu CPU - i H c C n Th - Khoa Cng Ngh...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: i H c C n Th - Khoa Cng Ngh Thng Tin - Gio Trnh H i u Hnh V1.0 NH TH I BI U CPU I M c tiu Sau khi h c xong ch ng ny, ng i h c n m c nh ng ki n th c sau: Hi u cc khi ni m c b n v nh th i Hi u cc gi i thu t nh th i bi u CPU V n d ng m t gi i thu t nh th i cho m t h th ng c th II Gi i thi u nh th i bi u l c s c a cc h i u hnh a ch ng. B ng cch chuy n i CPU gi a cc qu trnh, h i u hnh c th lm my tnh ho t ng nhi u h n. Trong ch ng ny, chng ta gi i thi u cc khi ni m nh th i c b n v trnh by cc gi i thu t nh th i bi u CPU khc nhau. Chng ta c ng xem xt v n ch n m t gi i thu t cho m t h th ng xc nh. III Cc khi ni m c b n M c tiu c a a ch ng l c nhi u qu trnh ch y cng th i i m t i u ha vi c s d ng CPU. Trong h th ng n x l, ch m t qu trnh c th ch y t i m t th i i m; b t c qu trnh no khc u ph i ch cho n khi CPU r nh v c th c nh th i l i. t ng c a a ch ng l t ng i n gi n. M t qu trnh c th c thi cho n khi n ph i ch yu c u nh p/xu t hon thnh. Trong m t h th ng my tnh n gi n th CPU s r nh r i; t t c th i gian ch ny l lng ph. V i a ch ng, chng ta c g ng dng th i gian ny CPU c th ph c v cho cc qu trnh khc. Nhi u qu trnh c gi trong b nh t i cng th i i m. Khi m t qu trnh ph i ch , h i u hnh l y CPU t qu trnh ny v c p CPU t i qu trnh khc. nh th i bi u l ch c n ng c b n c a h i u hnh. H u h t ti nguyn my tnh c nh th i bi u tr c khi dng. D nhin, CPU l m t trong nh ng ti nguyn my tnh u tin. Do , nh th i bi u l tr ng tm trong vi c thi t k h i u hnh. III.1 Chu k CPU-I/O S thnh cng c a vi c nh th i bi u CPU ph thu c vo thu c tnh c xem xt sau y c a qu trnh. Vi c th c thi qu trnh ch a m t chu k (cycle) th c thi CPU v ch i nh p/xu t. Cc qu trnh chuy n i gi a hai tr...
View Full Document

This note was uploaded on 01/18/2012 for the course INFORMATIK 2011 taught by Professor Phanthuongcang during the Winter '11 term at Cornell University (Engineering School).

Page1 / 22

Chuong4-Dinh thoi bieu CPU - i H c C n Th - Khoa Cng Ngh...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online