Profile-directed optimization of event-based programs

被引:5
|
作者
Rajagopalan, M [1 ]
Debray, SK
Hiltunen, MA
Schlichting, RD
机构
[1] Univ Arizona, Dept Comp Sci, Tucson, AZ 85721 USA
[2] AT&T Labs Res, Florham Pk, NJ 07932 USA
关键词
profiling; events; handlers; performance;
D O I
10.1145/543552.512543
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Events are used as a fundamental abstraction in programs ranging from graphical user interfaces (GUIs) to systems for building customized network protocols, While providing a flexible structuring and execution paradigm, events have the potentially serious drawback of extra execution overhead due to the indirection between modules that raise events and those that handle them. This paper describes an approach to addressing this issue using static optimization techniques. This approach, which exploits the underlying predictability often exhibited by event-based programs, is based on first profiling the program to identify commonly occurring event sequences. A variety of techniques that use the resulting profile information are then applied to the program to reduce the overheads associated with such mechanisms as indirect function calls and argument marshaling. In addition to describing the overall approach, experimental results are given that demonstrate the effectiveness of the techniques. These results are from event-based programs written for X Windows, a system for building GUIs, and Cactus, a system for constructing highly configurable distributed services and network protocols.
引用
收藏
页码:106 / 116
页数:11
相关论文
共 50 条
  • [1] Distributed Model Predictive Control with Event-Based Optimization
    Rostami, Ramin
    Goerges, Daniel
    IFAC PAPERSONLINE, 2017, 50 (01): : 8933 - 8938
  • [2] Event-based entrepreneurship
    Fisher, Greg
    Josefy, Matthew A.
    Neubert, Emily
    JOURNAL OF BUSINESS VENTURING, 2024, 39 (01)
  • [3] Emotion Regulation in the Context of Customer Mistreatment and Felt Affect: An Event-Based Profile Approach
    Diefendorff, James M.
    Gabriel, Allison S.
    Nolan, Megan T.
    Yang, Jixia
    JOURNAL OF APPLIED PSYCHOLOGY, 2019, 104 (07) : 965 - 983
  • [4] On event-based optical flow detection
    Brosch, Tobias
    Tschechne, Stephan
    Neumann, Heiko
    FRONTIERS IN NEUROSCIENCE, 2015, 9
  • [5] Profile Directed Systematic Testing of Concurrent Programs
    Hu, Yan
    Yan, Jun
    Zhang, Jian
    Jiang, He
    2013 8TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST (AST), 2013, : 47 - 52
  • [6] Event-Based Prospective Memory in the Rat
    Wilson, A. George
    Pizzo, Matthew J.
    Crystal, Jonathon D.
    CURRENT BIOLOGY, 2013, 23 (12) : 1089 - 1093
  • [7] Asynchronous Event-Based Fourier Analysis
    Sabatier, Quentin
    Ieng, Sio-Hoi
    Benosman, Ryad
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2017, 26 (05) : 2192 - 2202
  • [8] Understanding event-based business networks
    Hedaa, Laurids
    Tornroos, Jan-Ake
    TIME & SOCIETY, 2008, 17 (2-3) : 319 - 348
  • [9] Event-based archival information organization
    Niu, Jinfang
    ARCHIVAL SCIENCE, 2015, 15 (03) : 315 - 328
  • [10] An event-based perspective on the development of commitment
    Bergman, Mindy E.
    Benzer, Justin K.
    Kabins, Adam H.
    Bhupatkar, Alok
    Panina, Daria
    HUMAN RESOURCE MANAGEMENT REVIEW, 2013, 23 (02) : 148 - 160