26 research outputs found
Automatic Optimizations for Stream-based Monitoring Languages
Runtime monitors that are specified in a stream-based monitoring language
tend to be easier to understand, maintain, and reuse than those written in a
standard programming language. Because of their formal semantics, such
specification languages are also a natural choice for safety-critical
applications. Unlike for standard programming languages, there is, however, so
far very little support for automatic code optimization. In this paper, we
present the first collection of code transformations for the stream-based
monitoring language RTLola. We show that classic compiler optimizations, such
as Sparse Conditional Constant Propagation and Common Subexpression
Elimination, can be adapted to monitoring specifications. We also develop new
transformations -- Pacing Type Refinement and Filter Refinement -- which
exploit the specific modular structure of RTLola as well as the implementation
freedom afforded by a declarative specification language. We demonstrate the
significant impact of the code transformations on benchmarks from the
monitoring of unmanned aircraft systems (UAS).Comment: 20th International Conference on Runtime Verification (2020
Rerum medicarum lib. quatuor
Marca tipogràfica a port.Signatures: []4, a-z, aa-bb6, cc4, dd6Postil·lesTít. emmarcat dins orla ornamental xil., 8 gravats xil. a tota plana, caplletres i caplletres ornadesUniversitat de Barcelona. CRAI. Fondo de Reserv
