subject
Computers and Technology, 06.06.2020 15:58 kev71

When the time to produce a data item, P, is equal to the time to consume the data item, C, then buffer swapping with 2 buffers keeps both the consumer and the producer busy at all times. The numbers in the diagram indicate which buffer is being used. Producer 1 2 1 2 1 2Consumer 1 2 1 2 1 (a) If the time to consume is longer than the time to produce, then multiple concurrent consumers can be used to keep the producer busy at all times. Determine the number of concurrent consumers and the number of buffers needed when C = 2P and show the corresponding timing diagram. (b) Determine the number of consumers necessary to keep the producer busy for the general case when C is a multiple of P. (c) Determine the number of consumers necessary to keep the producer busy when C is less than P.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 1
question
Computers and Technology, 24.06.2019 02:10
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
You know the right answer?
When the time to produce a data item, P, is equal to the time to consume the data item, C, then buff...
Questions
question
English, 13.04.2021 02:50
question
Mathematics, 13.04.2021 02:50
question
Mathematics, 13.04.2021 02:50
question
Mathematics, 13.04.2021 02:50
question
Mathematics, 13.04.2021 02:50
Questions on the website: 13722361