首页> 外文会议>IEEE Working Conference on Software Visualization >Visual Exploration of Memory Traces and Call Stacks
【24h】

Visual Exploration of Memory Traces and Call Stacks

机译:可视化的内存跟踪和调用堆栈探索

获取原文

摘要

Analysis of software performance typically takes into account clock cycles and memory consumption at each sampling point in time. Although this is a valid strategy, we argue that it is also worth investigating data and control flow structures, as observed using memory traces and call stacks, because of their importance for performance engineering. In this work, we present a visual approach to memory profiling that supports analysis of memory layout, access patterns, and aliasing in correlation to program execution. Our method leverages language-agnostic dynamic code instrumentation to minimize the impact of tracing on performance, i.e., the application remains usable on commodity hardware. The profiled data is then clustered and visualized using a density-based scatter plot. If debug symbols are available, the scatter plot is augmented by a flame graph to ease linking to the high-level source code. Our visualization helps software engineers to identify runtime behavior by relating memory addresses to instruction execution. We demonstrate our approach using a set of examples revealing different memory access patterns and discuss their influence on software performance.
机译:软件性能分析通常考虑时钟周期和每个采样时间点的内存消耗。尽管这是一种有效的策略,但我们认为值得一提的是研究数据和控制流结构(如使用内存跟踪和调用堆栈所观察到的),因为它们对性能工程的重要性。在这项工作中,我们提出一种可视化的内存配置方法,该方法支持对内存布局,访问模式和与程序执行相关的别名的分析。我们的方法利用与语言无关的动态代码工具来最大程度地减少跟踪对性能的影响,即,该应用程序仍可在商品硬件上使用。然后使用基于密度的散点图对配置数据进行聚类和可视化。如果有调试符号可用,则通过火焰图来扩大散点图,以简化与高级源代码的链接。我们的可视化帮助软件工程师通过将内存地址与指令执行相关联来识别运行时行为。我们使用一组示例展示了我们的方法,这些示例揭示了不同的内存访问模式,并讨论了它们对软件性能的影响。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号