Collecting statistics over runtime executions

被引:25
作者
Finkbeiner, B [1 ]
Sankaranarayanan, S
Sipma, HB
机构
[1] Max Planck Inst Informat, Saarbrucken, Germany
[2] Univ Saarland, Fachrichtung Informat, Saarbrucken, Germany
[3] Stanford Univ, Dept Comp Sci, Stanford, CA 94305 USA
关键词
program profiling; runtime verification; specification languages; runtime monitoring; temporal logic;
D O I
10.1007/s10703-005-3399-3
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present an extension to linear-time temporal logic (LTL) that combines the temporal specification with the collection of statistical data. By collecting statistics over runtime executions of a program we can answer complex queries, such as "what is the average number of packet transmissions'' in a communication protocol, or "how often does a particular process enter the critical section while another process remains waiting'' in a mutual exclusion algorithm. To decouple the evaluation strategy of the queries from the definition of the temporal operators, we introduce algebraic alternating automata as an automata-based intermediate representation. Algebraic alternating automata are an extension of alternating automata that produce a value instead of acceptance or rejection for each trace. Based on the translation of the formulas from the query language to algebraic alternating automata, we obtain a simple and efficient query evaluation algorithm. The approach is illustrated with examples and experimental results.
引用
收藏
页码:253 / 274
页数:22
相关论文
共 27 条
[1]  
ALUR R, 1999, LECT NOTES COMPUTER, V1644, P159
[2]   A NOTE ON RELIABLE FULL-DUPLEX TRANSMISSION OVER HALF-DUPLEX LINLS [J].
BARTLETT, KA ;
SCANTLEBURY, RA ;
WILKINSON, PT ;
LYNCH, WC .
COMMUNICATIONS OF THE ACM, 1969, 12 (05) :260-+
[3]   Verifying temporal properties of reactive systems:: A STeP tutorial [J].
Bjorner, NS ;
Browne, A ;
Colón, MA ;
Finkbeiner, B ;
Manna, Z ;
Sipma, HB ;
Uribe, TE .
FORMAL METHODS IN SYSTEM DESIGN, 2000, 16 (03) :227-270
[4]  
BRUNS G, 2004, P 16 IEEE S LOG COMP, P409
[5]   ALTERNATION [J].
CHANDRA, AK ;
KOZEN, DC ;
STOCKMEYER, LJ .
JOURNAL OF THE ACM, 1981, 28 (01) :114-133
[6]   Min-max computation tree logic [J].
Dasgupta, P ;
Chakrabarti, PP ;
Deka, JK ;
Sankaranarayanan, S .
ARTIFICIAL INTELLIGENCE, 2001, 127 (01) :137-162
[7]  
Drusinsky D, 2000, LECT NOTES COMPUT SC, V1885, P323
[8]  
EMERRSON A, 1993, REAL-TIME SYST, V4, P334
[9]  
EMERSON AL, 1997, TAPSOFT 7 INT JOINT
[10]  
FINKBEINER B, 2001, ELECT NOTES THEORETI, V55, P1