Reducing Monitoring Overhead by Integrating Event- and Time-Triggered Techniques
نویسندگان
چکیده
Runtime verification is a formal technique used to check whether a program under inspection satisfies its specification by using a runtime monitor. Existing monitoring approaches use one of two ways for evaluating a set of logical properties: (1) event-triggered, where the program invokes the monitor when the state of the program changes, and (2) time-triggered, where the monitor periodically preempts the program and reads its state. Realizing the former is straightforward, but the runtime behaviour of event-triggered monitors are difficult to predict. Time-triggered monitoring (designed for real-time embedded systems), on the other hand, provides predictable monitoring behavior and overhead bounds at run time. Our previous work shows that time-triggered monitoring can potentially reduce the runtime overhead provided that the monitor samples the program state at a low frequency. In this paper, we propose a hybrid method that leverages the benefits of both eventand time-triggered methods to reduce the overall monitoring overhead. We formulate an optimization problem, whose solution is a set of instrumentation instructions that switches between event-triggered and time-triggered modes of monitoring at run time; the solution may indicate the use of exactly one mode or a combination of the two modes. We fully implemented this method to produce instrumentation schemes for C programs that run on an ARM Cortex-M3 processor, and experimental results validate the effectiveness of this approach.
منابع مشابه
Comparing and Evaluating epoll, select, and poll Event Mechanisms
This paper uses a high-performance, eventdriven, HTTP server (the μserver) to compare the performance of the select, poll, and epoll event mechanisms. We subject the μserver to a variety of workloads that allow us to expose the relative strengths and weaknesses of each event mechanism. Interestingly, initial results show that the select and poll event mechanisms perform comparably to the epoll ...
متن کاملAnalysis of Applying Event-triggered Strategy on the Model Predictive Control
In this paper, the event-triggered strategy in the case of finite-horizon model predictive control (MPC) is studied and its advantages over the input to state stability (ISS) Lyapunov based triggering rule is discussed. In the MPC triggering rule, all the state trajectories in the receding horizon are considered to obtain the triggering rule. Clearly, the finite horizon MPC is sub-optimal with ...
متن کاملFragmented Monitoring
Field data is an invaluable source of information for testers and developers because it witnesses how software systems operate in real environments, capturing scenarios and configurations relevant to end-users. Unfortunately, collecting traces might be resource-consuming and can significantly affect the user experience, for instance causing annoying slowdowns. Existing monitoring techniques can...
متن کاملEfficient Techniques for Near-Optimal Instrumentation in Time-Triggered Runtime Verification
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 ...
متن کاملEvaluation of Human Errors among Nurses Using Predictive Analysis of Cognitive Errors and Human Event Analysis Techniques: Case study of the Specific Responsibilities of the Cardiac Intensive Care Unit
Introduction: Considering the accreditation of international standards of hospitals and the necessity to improve the safety and quality of patients’ care, this study aimed at evaluating reliability among nurses using predictive analysis of cognitive errors and human event analysis techniques. Material and Methods: The analysis of nurses̓ tasks was done by HTA method. Then, the types of errors a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013