1-rasm. Dastuming yarusli-parallel shakli, bu yerda: t¡- vaqt birligi soni
i -shoxcha (shoxcha uzunligi)
2- mashq.
Dastuming yarusli-parallel shaklining bajarilishini quyidagi varinatini
ko’rib chiqing (1-rasm).
1-protsessor.
1-4-5-9-10-13
shoxchalarini,
2-protsessor 2-3-6-7-8-11-12-14
shoxchalami bajarsa, 1-protsessor 55
vaqt birligida, 13-shoxcha tayyor bo’lmaganligi
sababli ishlamay tursa, 1 va 2 -protsessorlar dastumi yechishga qancha vaqt sarf etadi.
3-mashq.
1- protsessor 1-4-5-9-10-11-13 shoxchalarni, 2-protsessor 2-6-3-7-8-12-
14 shoxchalami bajarsa, bunda 1-protsessor 13-shoxcha tayyor emasligi sababli 25 vaqt
birligida ishlamay tursa, 1 va 2-protsessorlaming ishlash vaqtlarini hisoblang (1-rasm).
4-mashq.
1-protsessor 1-4-8-12-11-13 shoxchalami, 2-protsessor 2-5-6-3-7-9-10-
14 shoxchalami bajaradi. 2-protsessor 5 vaqt birligida ishlamay turadi. Protsessoming
ishlash vaqtini hisoblang.