2011 IEEE 17th International Conference on Embedded and Real-Time Computing Systems and Applications (2011)
Aug. 28, 2011 to Aug. 31, 2011
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/RTCSA.2011.55
Current approaches to instruction cache analysis for determining worst-case execution time rely on building a mathematical model of the cache that tracks its contents at all points in the program. This requires perfect knowledge of the functional behaviour of the cache and may result in extreme complexity and pessimism if many alternative paths through code sections are possible. To overcome these issues, this paper proposes a new hybrid approach in which information obtained from program traces is used to automate the construction of a model of how the cache is used. The resulting model involves the learning of a Bayesian network that predicts which instructions result in cache misses as a function of previously taken paths. The model can then be utilised to predict cache misses for previously unseen inputs and paths. The accuracy of this learned model is assessed against real benchmarks and an established statistical approach to illustrate its benefits.
belief networks, cache storage, program diagnostics, statistical analysis
M. Bartlett, I. Bate, J. Cussens and D. Kazakov, "Probabilistic Instruction Cache Analysis Using Bayesian Networks," 2011 IEEE 17th International Conference on Embedded and Real-Time Computing Systems and Applications(RTCSA), Toyama, Japan, 2011, pp. 233-242.