About

Log in?

DTU users get better search results including licensed content and discounts on order fees.

Anyone can log in and get personalized features such as favorites, tags and feeds.

Log in as DTU user Log in as non-DTU user No thanks

DTU Findit

Conference paper

Static analysis of worst-case stack cache behavior

In Proceedings of the 21st International Conference on Real-time Networks and Systems — 2013, pp. 55-64
From

Department of Applied Mathematics and Computer Science, Technical University of Denmark1

Embedded Systems Engineering, Department of Applied Mathematics and Computer Science, Technical University of Denmark2

Utilizing a stack cache in a real-time system can aid predictability by avoiding interference that heap memory traffic causes on the data cache. While loads and stores are guaranteed cache hits, explicit operations are responsible for managing the stack cache. The behavior of these operations can be analyzed statically.

We present algorithms that derive worst-case bounds on the latency-inducing operations of the stack cache. Their results can be used by a static WCET tool. By breaking the analysis down into subproblems that solve intra-procedural data-flow analysis and path searches on the call-graph, the worst-case bounds can be efficiently yet precisely determined.

Our evaluation using the MiBench benchmark suite shows that only 37% and 21% of potential stack cache operations actually store to and load from memory, respectively. Analysis times are modest, on average running between 0.46s and 1.30s per benchmark, depending on the size of the stack cache.

Language: English
Publisher: Association for Computing Machinery
Year: 2013
Pages: 55-64
Proceedings: 21st International conference on Real-Time Networks and Systems (RTNS 2013)
ISBN: 1450320589 and 9781450320580
Types: Conference paper
DOI: 10.1145/2516821.2516828
ORCIDs: Schoeberl, Martin

DTU users get better search results including licensed content and discounts on order fees.

Log in as DTU user

Access

Analysis