Skip to main content

Counter Automata for Parameterised Timing Analysis of Box-Based Systems

  • Conference paper
  • 237 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 7177))

Abstract

We present a new compositional approach for analysing the resource usage of reactive box-based systems, as exemplified by Hume. Our analysis deals with a key aspect of reactivity, namely determining the worst-case execution time between some external input event and the associated output event, taking into account repeated box iterations and the possible interactions between boxes in terms of input/output values. In order to achieve this, we capture the system behaviour by abstract interpretation, obtaining counter automata, finite state automata with additional counters that can be used to represent sizes/resource costs and control repetitions. These counter automata precisely capture cost information from the original box-based system, but in a way that is more abstract and therefore easier to analyse. The key contribution of this paper over previous work is that we are able to analyse box-based computations for cyclic systems whose costs may depend on some input parameters and in which the cost formulae are non-linear.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Albert, E., Arenas, P., Genaim, S., Puebla, G.: Closed-Form Upper Bounds in Static Cost Analysis. Journal of Automated Reasoning 46(2), 161–203 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  2. Alur, R., Dill, D.L.: A theory of timed automata. Theoretical Computer Science 126(2), 183–235 (1994)

    Article  MathSciNet  MATH  Google Scholar 

  3. Annichini, A., Asarin, E., Bouajjani, A.: Symbolic Techniques for Parametric Reasoning About Counter and Clock Systems. In: Emerson, E.A., Sistla, A.P. (eds.) CAV 2000. LNCS, vol. 1855, pp. 419–434. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  4. Bernat, G., Burns, A.: An approach to symbolic worst-case execution time analysis. In: 25th Workshop on Real-Time Programming, Palma, Spain (May 2000)

    Google Scholar 

  5. Bozga, M., Iosif, R., Lakhnech, Y.: Flat Parametric Counter Automata. In: Bugliesi, M., Preneel, B., Sassone, V., Wegener, I. (eds.) ICALP 2006. LNCS, vol. 4052, pp. 577–588. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  6. Bygde, S., Lisper, B.: Towards an automatic parametric WCET analysis. In: 8th Intl. Workshop on Worst-Case Execution Time (WCET) Analysis (2008); associated with ECRTS 2008

    Google Scholar 

  7. Chin, W.-N., Khoo, S.-C.: Calculating sized types. In: Partial Evaluation and Semantics-based Program Manipulation, pp. 62–72 (2000)

    Google Scholar 

  8. Coffman, J., Healy, C., Mueller, F., Whalley, D.: Generalizing parametric timing analysis. In: LCTES 2007, pp. 152–154 (2007)

    Google Scholar 

  9. Cousot, P., Cousot, R.: Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In: Proc. Principles of Programming Languages (POPL), pp. 238–252 (1977)

    Google Scholar 

  10. Graham, R.L., Knuth, D.E., Patashnik, O.: Concrete Mathematics. 2nd edition. Pearson Education (1994)

    Google Scholar 

  11. Hammond, K., Michaelson, G.J.: Hume: A Domain-Specific Language for Real-Time Embedded Systems. In: Pfenning, F., Macko, M. (eds.) GPCE 2003. LNCS, vol. 2830, pp. 37–56. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  12. Hernández-Marin, S., Wallace, A.M., Gibson, G.J.: Bayesian analysis of LiDAR signals with multiple returns. IEEE Transactions on Pattern Analysis and Machine Intelligence 29(12), 2170–2180 (2007)

    Article  Google Scholar 

  13. Herrmann, C.A., Bonenfant, A., Hammond, K., Jost, S., Loidl, H.-W., Pointon, R.: Automatic amortised worst-case execution time analysis. In: Rochange, C. (ed.) 7th Intl. Workshop on Worst-Case Execution Time (WCET) Analysis. Internationales Begegnungs- und Forschungszentrum für Informatik (IBFI), Schloss Dagstuhl, Germany (2007)

    Google Scholar 

  14. Hoffmann, J., Aehlig, K., Hofmann, M.: Multivariate Amortized Resource Analysis. In: 38th Symp. on Principles of Prog. Langs. (POPL 2011), pp. 357–370 (2011)

    Google Scholar 

  15. Hovland, D.: Regular Expressions with Numerical Constraints and Automata with Counters. In: Leucker, M., Morgan, C. (eds.) ICTAC 2009. LNCS, vol. 5684, pp. 231–245. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  16. Jost, S., Hammond, K., Loidl, H.-W., Hofmann, M.: Static determination of quantitative resource usage for higher-order programs. In: Proc. Principles of Programming Languages, POPL (2010)

    Google Scholar 

  17. Nielson, F., Nielson, H.R., Hankin, C.: Principles of Program Analysis. Springer (1999)

    Google Scholar 

  18. Penczek, F., Herhut, S., Grelck, C., Scholz, S.-B., Shafarenko, A., Barrière, R., Lenormand, E.: Parallel Signal Processing with S-Net. Procedia Computer Science 1(1), 2079–2088 (2010); ICCS 2010

    Article  Google Scholar 

  19. Schüle, T., Schneider, K.: Exact runtime analysis using automata-based symbolic simulations. In: Proc 1st ACM/IEEE Int. Conf. Formal Methods and Models for Co-Design (MEMOCODE 2003). IEEE Computer Society (2003)

    Google Scholar 

  20. Sipser, M.: Introduction to the Theory of Computation. PWS Publishing Company (1997)

    Google Scholar 

  21. Sperberg-McQueen, M.: Notes on finite state automata with counters (May 2004), http://www.w3.org/XML/2004/05/msm-cfa.html

  22. Valiant, L.G.: A bridging model for parallel computation. Communications of the ACM 33(8), 103–111 (1990)

    Article  Google Scholar 

  23. Wegbreit, B.: Mechanical program analysis. Communication of the ACM 18(9), 528–539 (1975)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Herrmann, C.A., Hammond, K. (2012). Counter Automata for Parameterised Timing Analysis of Box-Based Systems. In: Peña, R., van Eekelen, M., Shkaravska, O. (eds) Foundational and Practical Aspects of Resource Analysis. FOPARA 2011. Lecture Notes in Computer Science, vol 7177. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-32495-6_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-32495-6_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-32494-9

  • Online ISBN: 978-3-642-32495-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics