Relating and Visualising CSP, VCR and Structural Traces

Neil C. C. Brown, Marc L. Smith
{"title":"Relating and Visualising CSP, VCR and Structural Traces","authors":"Neil C. C. Brown, Marc L. Smith","doi":"10.3233/978-1-60750-065-0-89","DOIUrl":null,"url":null,"abstract":"As well as being a useful tool for formal reasoning, a trace can provide insight into a concurrent program's behaviour, especially for the purposes of run-time analysis and debugging. Long-running programs tend to produce large traces which can be difficult to comprehend and visualise. We examine the relationship between three types of traces (CSP, VCR and Structural), establish an ordering and describe methods for conversion between the trace types. Structural traces preserve the struc- ture of composition and reveal the repetition of individual processes, and are thus well-suited to visualisation. We introduce the Starving Philosophers to motivate the value of Structural traces for reasoning about behaviour not easily predicted from a program's specification. A remaining challenge is to integrate Structural traces into a more formal setting, such as the Unifying Theories of Programming - however, Struc- tural traces do provide a useful framework for analysing large systems.","PeriodicalId":246267,"journal":{"name":"Communicating Process Architectures Conference","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Communicating Process Architectures Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3233/978-1-60750-065-0-89","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

As well as being a useful tool for formal reasoning, a trace can provide insight into a concurrent program's behaviour, especially for the purposes of run-time analysis and debugging. Long-running programs tend to produce large traces which can be difficult to comprehend and visualise. We examine the relationship between three types of traces (CSP, VCR and Structural), establish an ordering and describe methods for conversion between the trace types. Structural traces preserve the struc- ture of composition and reveal the repetition of individual processes, and are thus well-suited to visualisation. We introduce the Starving Philosophers to motivate the value of Structural traces for reasoning about behaviour not easily predicted from a program's specification. A remaining challenge is to integrate Structural traces into a more formal setting, such as the Unifying Theories of Programming - however, Struc- tural traces do provide a useful framework for analysing large systems.
关联和可视化CSP, VCR和结构轨迹
除了作为形式化推理的有用工具外,跟踪还可以提供对并发程序行为的洞察,特别是对于运行时分析和调试的目的。长时间运行的程序往往会产生大量难以理解和可视化的痕迹。我们研究了三种类型的轨迹(CSP, VCR和结构)之间的关系,建立了一种顺序,并描述了轨迹类型之间转换的方法。结构痕迹保留了构图的结构,揭示了单个过程的重复,因此非常适合于可视化。我们引入“饥饿的哲学家”来激发结构痕迹的价值,以对不容易从程序规范中预测的行为进行推理。剩下的挑战是将结构轨迹集成到更正式的设置中,例如程序设计的统一理论——然而,结构轨迹确实为分析大型系统提供了一个有用的框架。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信