A system with a processor frequency 50 MHz handles two interrupt lines and one polling line....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A system with a processor frequency 50 MHz handles two interrupt lines and one polling line. Events on line INTERRUPT 1 have a minimal inter-arrival time of 5 us, and their processing takes 30 cycles. Events on line INTERRUPT 2 are independent of those on INTERRUPT 1, and have a minimal inter-arrival time of 2 us, while their processing takes 10 cycles. An overhead of 5 cycles is needed for handling every interrupt event. Finally, a polling task is executed every 12 µs, and its execution time is independent of whether or not an event arrived on the polling line. The polling task checks on the arrival of the polling event only when it starts execution. 1. (7 points) Determine the worst case processing time of the polling task, in cycles, such that processing of an event on the polling line finishes within 15 us after its arrival. Assume the minimal inter-arrival time of events is 15 μs. 2. (3 points) Assume now that the polling task needs 50 cycles to execute. Determine tight lower and upper bounds on the average system utilization, including polling and interrupt tasks. A system with a processor frequency 50 MHz handles two interrupt lines and one polling line. Events on line INTERRUPT 1 have a minimal inter-arrival time of 5 us, and their processing takes 30 cycles. Events on line INTERRUPT 2 are independent of those on INTERRUPT 1, and have a minimal inter-arrival time of 2 us, while their processing takes 10 cycles. An overhead of 5 cycles is needed for handling every interrupt event. Finally, a polling task is executed every 12 µs, and its execution time is independent of whether or not an event arrived on the polling line. The polling task checks on the arrival of the polling event only when it starts execution. 1. (7 points) Determine the worst case processing time of the polling task, in cycles, such that processing of an event on the polling line finishes within 15 us after its arrival. Assume the minimal inter-arrival time of events is 15 μs. 2. (3 points) Assume now that the polling task needs 50 cycles to execute. Determine tight lower and upper bounds on the average system utilization, including polling and interrupt tasks.
Expert Answer:
Answer rating: 100% (QA)
Question 1 To determine the worstcase processing time of the polling task we need to calculate the maximum number of cycles required to process an eve... View the full answer
Related Book For
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young
Posted Date:
Students also viewed these programming questions
-
If triangles ABC and DFG are similar triangles and side DF = 218, what is the value of side DG?
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
J Lo's Clothiers has forecast credit sales for the fourth quarter of the year September (actual) Fourth Quarter $ $4,000 October Novenber Decenber $ 44,000 39,000 64,000 Experience has shown that 30...
-
Why does a motor also tend to act as a generator?
-
Ricardo acquired a warehouse for business purposes on August 30, 1997. The building cost $400,000. He took $226,900 of depreciation on the building, and then sold it for $500,000 on July 1, 2016....
-
Rice Automotive ended December 2009 with Accounts Receivable of $30,000 and Allowance for Uncollectible Accounts of $1,500. During January 2010, Rice Automotive completed the following transactions:...
-
1. In preparing a statement of cash flows, the cost of acquiring a subsidiary is reported: a. As an operating activity under the direct method b. As an operating activity under the indirect method c....
-
(8) An amount of $280,000 owed to the company and written off in 2013 was recovered in April 2014. In April 2014 the company spent $500,000 servicing its fleet of motor vehicles. This amount was not...
-
Complete Celebrity Catering Service Inc.s (CCS) Form 1120 and all related schedules. Be sure to attach schedules for any line item which indicates one is required on the 1120. FORM4562 is not...
-
Explain the audit risk model, and the components of audit risk. Which components are determined by the auditor, and which are based upon the auditors assessment of the client?
-
Hannahs Handbags Pty Ltd is preparing a budget for the quarter ended 30 June 2019. Hannah estimates that approximately 70% of the handbag sales will be for cash and the rest will be on credit. Of the...
-
Kays Hardware Ltds budgeted monthly sales for January to June 2019 are given below. About 70% of the monthly sales are expected to be on credit. Approximately 60% of the credit sales are collected in...
-
The accountant for Schulz Ltd compiled the following figures in order to estimate budgeted cash payments for March and April 2019. Schulz Ltd uses the following assumptions when preparing budgets....
-
Overton Pty Ltd is a private company that runs a coffee shop. Its owner, Carl, is concerned that the cash flows for the past year have deteriorated and has provided the following abridged versions of...
-
The March 2019 bank statement of Tongs Toyworld has just been received from its bankers. The following information is available. 1. The March bank column totals of the cash receipts and cash payments...
-
An arched bridge over a 20-foot stream is in the shape of the top half of an ellipse. The highest point of the bridge is 5 feet above the base. How high is a point on the bridge that is 5 feet...
-
A firm has the following balance sheet: Assets Cash Accounts receivable Inventory Plant and equipment $ 15,000 150,000 92,000 170,000 $427,000 Liabilities and Equity Accounts payable Long-term debt...
-
Under what two conditions are volumebased traditional product costing systems most likely to distort product costs? How do activity-based costing systems provide more accurate costs when these two...
-
What are some pros and cons of tying an individuals pay to performance?
-
Suppose you are the manager of a fitness center that is one of many in a chain. Give one example of a cost that you control and one example of a cost you do not control. Why is it important in this...
-
_______________ is defined as the degree to which a set of inherent characteristics fulfill requirements. A. Fitness for use B. Conformance to requirements C. Metrics D. Quality
-
The ___________ must be the basis for a project cost estimate if you plan to create a cost baseline and use earned value management as part of monitoring and controlling costs. A. project schedule B....
-
Using a(n) _________ approach to developing cost estimates requires a good deal of expert judgment and is generally less costly than others are, but it can also be less accurate. A. bottom-up B....
Study smarter with the SolutionInn App