|Title||Efficient Techniques for Near-optimal Instrumentation in Time-triggered Runtime Verification|
|Publication Type||Conference Paper|
|Year of Publication||2011|
|Authors||Navabpour, S., C. Wah Wallac Wu, B. Bonakdarpour, and S. Fischmeister|
|Conference Name||Proc. of the 2nd International Conference on Runtime Verification (RV)|
|Conference Location||San Francisco, USA|
|Keywords||Runtime verification, TTRV|
Time-triggered runtime verification aims at tackling two defects associated with runtime overhead normally incurred in event-triggered approaches: unboundedness and unpredictability. In the time-triggered approach, a monitor runs in parallel with the program and periodically samples the program state to evaluate a set of properties. In our previous work, we showed that to increase the sampling period of the monitor (and hence decrease involvement of the monitor), one can employ auxiliary memory to build a history of state changes between subsequent samples. We also showed that the problem of optimization of the size of history and sampling period is NP-complete. In this paper, we propose a set of heuristics that find near-optimal solutions to the problem. Our experiments show that by employing negligible extra memory at run time, we can solve the optimization problem significantly faster, while maintaining a similar level of overhead as the optimal solution. We conclude from our experiments that the NP-completeness of the optimization problem is not an obstacle when applying time-triggered runtime verification in practice.