Score-P的LLVM仪表插件
An LLVM Instrumentation Plug-in for Score-P
摘要:
减少应用程序运行时间,将并行应用程序扩展到更多数量的进程/线程,以及将应用程序移植到新的硬件架构是软件开发过程中的必要任务。因此,开发人员必须调查和理解应用程序运行时的行为。在应用程序执行期间捕获性能相关数据的监控基础设施等工具有助于完成此任务。测量的数据构成了识别瓶颈和优化代码的基础。监控基础设施需要记录应用程序活动的机制,以便进行测量。在大多数应用程序场景中,源代码的自动插装是首选方法。我们为LLVM基础设施引入了一个插件,它可以在编译时实现自动源代码插装。与LLVM/Clang中可用的插装机制相比,我们的插件可以选择性地包含/排除各个应用程序函数。这使开发人员能够将度量微调到所需的细节级别,同时避免由于过多的插装而导致的大量运行时开销。
英文摘要:
Reducing application runtime, scaling parallel applications to higher numbers of processes/threads, and porting applications to new hardware architectures are tasks necessary in the software development process. Therefore, developers have to investigate and understand application runtime behavior. Tools such as monitoring infrastructures that capture performance relevant data during application execution assist in this task. The measured data forms the basis for identifying bottlenecks and optimizing the code. Monitoring infrastructures need mechanisms to record application activities in order to conduct measurements. Automatic instrumentation of the source code is the preferred method in most application scenarios. We introduce a plug-in for the LLVM infrastructure that enables automatic source code instrumentation at compile-time. In contrast to available instrumentation mechanisms in LLVM/Clang, our plug-in can selectively include/exclude individual application functions. This enables developers to fine-tune the measurement to the required level of detail while avoiding large runtime overheads due to excessive instrumentation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。