Worst-Case Execution Time

Slides:



Advertisements
Similar presentations
Approximating the Worst-Case Execution Time of Soft Real-time Applications Matteo Corti.
Advertisements

Design of Experiments Lecture I
Statistical Inference Statistical Inference is the process of making judgments about a population based on properties of the sample Statistical Inference.
Xianfeng Li Tulika Mitra Abhik Roychoudhury
Sampling: Final and Initial Sample Size Determination
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.3 Estimating a Population mean µ (σ known) Objective Find the confidence.
Business Statistics - QBM117 Selecting the sample size.
Basic Elements of Testing Hypothesis Dr. M. H. Rahbar Professor of Biostatistics Department of Epidemiology Director, Data Coordinating Center College.
Statistical inference form observational data Parameter estimation: Method of moments Use the data you have to calculate first and second moment To fit.
Fundamentals of Sampling Method
Fall 2006 – Fundamentals of Business Statistics 1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter 7 Estimating Population Values.
CONFIDENCE INTERVALS What is the Purpose of a Confidence Interval?
Chapter 7 Estimating Population Values
Business Statistics - QBM117 Revising interval estimation.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Statistical Intervals Based on a Single Sample.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics, A First Course.
Chapter 7 Confidence Intervals and Sample Sizes
Introduction to Statistical Inferences
Chapter 7 Estimation: Single Population
Confidence Interval Estimation
Stats for Engineers Lecture 9. Summary From Last Time Confidence Intervals for the mean t-tables Q Student t-distribution.
Confidence Intervals (Chapter 8) Confidence Intervals for numerical data: –Standard deviation known –Standard deviation unknown Confidence Intervals for.
Albert Morlan Caitrin Carroll Savannah Andrews Richard Saney.
9- 1 Chapter Nine McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
Estimating a Population Proportion. Example What is the estimate of the proportion of households tuned to the super bowl?
Population All members of a set which have a given characteristic. Population Data Data associated with a certain population. Population Parameter A measure.
Biostatistics IV An introduction to bootstrap. 2 Getting something from nothing? In Rudolph Erich Raspe's tale, Baron Munchausen had, in one of his many.
Confidence Interval Proportions.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Some practical issues.
Correlation and Prediction Error The amount of prediction error is associated with the strength of the correlation between X and Y.
9- 1 Chapter Nine McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 8-1 Confidence Interval Estimation.
Confidence Intervals vs. Prediction Intervals Confidence Intervals – provide an interval estimate with a 100(1-  ) measure of reliability about the mean.
Section 6-3 Estimating a Population Mean: σ Known.
Section 7-3 Estimating a Population Mean: σ Known.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Estimates and Sample Sizes Chapter 6 M A R I O F. T R I O L A Copyright © 1998,
Estimating a Population Mean:  Known
A Unified WCET Analysis Framework for Multi-core Platforms Sudipta Chattopadhyay, Chong Lee Kee, Abhik Roychoudhury National University of Singapore Timon.
CSCI1600: Embedded and Real Time Software Lecture 33: Worst Case Execution Time Steven Reiss, Fall 2015.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Various Topics of Interest to the Inquiring Orthopedist Richard Gerkin, MD, MS BGSMC GME Research.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 7-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Estimating a Population Mean. Student’s t-Distribution.
Confidence Intervals for a Population Mean, Standard Deviation Unknown.
Real-time aspects Bernhard Weirich Real-time Systems Real-time systems need to accomplish their task s before the deadline. – Hard real-time:
Section 8.1 Introduction to Estimating Population Means HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
9-1 ESTIMATION Session Factors Affecting Confidence Interval Estimates The factors that determine the width of a confidence interval are: 1.The.
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
Ex St 801 Statistical Methods Inference about a Single Population Mean (CI)
Statistics for Business and Economics 7 th Edition Chapter 7 Estimation: Single Population Copyright © 2010 Pearson Education, Inc. Publishing as Prentice.
Estimation and Confidence Intervals
Chapter 8: Interval estimation of parameters
Statistical Estimation
Lecture 2d1: Quality of Measurements
Chapter Six Normal Curves and Sampling Probability Distributions
CSCI1600: Embedded and Real Time Software
Estimating
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
CONCEPTS OF ESTIMATION
Introduction to Inference
Estimates Made Using Sx
Confidence Intervals for a Population Mean, Standard Deviation Known
Confidence Intervals for the Mean (σ Known)
SP 225 Lecture 11 Confidence Intervals.
Estimating the Value of a Parameter Using Confidence Intervals
Determining Which Method to use
Estimating a Population Mean:  Known
CSCI1600: Embedded and Real Time Software
Presentation transcript:

Worst-Case Execution Time Problem: Given a program and an architecture, find the worst-case execution time (WCET) of that program on the given architecture Fundamental Limitation: Given an arbitrary program, the problem of deciding if it will ever stop is undecidable (known as the Halting Problem) By restricting the programming constructs used, we can, in many cases, get an upper bound

Approaches to WCET Estimation Program and architecture analysis Easy to do when the architecture is simple No cache No pipelining Single instruction issue width Very difficult in modern speculative architectures Deep pipelines with interlocks between stages Multiple levels of caching Multiple instructions issued per clock Speculative execution and branch prediction

WCET Estimation Approaches Profiling-based statistical approach Estimate, based on experimental results, the confidence associated with some estimate of WCET Technique uses the statistics of extremes

Gumbel Distribution Function Given a set of sample data {x1, x2, …, xn}, define m = E[x] - ls s=(sqrt(6)/p).StDev(x) l = 0.5772156649... Mean and standard deviation are estimated from the data using the standard statistical formulae Then, G(x) = exp(-exp(-(x-m)/s)), x>s is the Gumbel distribution function

Using the Gumbel PDF Run the software under application conditions: make a total of n such profiling runs for some selected n Calculate the parameters for the Gumbel distribution Condition the Gumbel distribution on the maximum observed value Read from the conditioned distribution the WCET estimate for the desired confidence level