(國防科學技術大學 計算機學院 湖南省 長沙 410073)
摘 要: 本文提出了一種基于插樁的程序區域運行信息測量方法。該方法通過在目標程序區域植入測量代碼以實現對程序區域的運行時間和次數,這些數據可以用來進行程序節能分析和計算。
關鍵詞: 編譯器;插樁;程序區域測量;
A method of measuring program regions’ runtime data based on profiling
LUO Zhao-Cheng+, YI Hui-Zhan
(Department of Computer Science and Technology, National University of Defense Technology, Changsha 410073, China)
Abstract: This paper presents a method of measuring program regions’ information based on profiling. We insert codes in target regions to measure their executing time; these data can be used by dynamic voltage scaling algorithm to minimize CPU power and energy consumption.
Key words: compiler, profiling , program region measurement
參考文獻
[1] Rivoire S.A balanced energy-efficiency benchmark[C]//Proceedings of the 2007 ACM SIGMOD International Conference on Management of Data. New York,USA:ACM,2007:365-376.
[2] Marinoni M, Buttazzo G Elastic. DVS management in processors with discrete Voltage/frequency modes. IEEE Trans Industrial Informatics,2007,3(1):51-56
[3] M. Weiser, B. Welch, A. Demers and S. Shenker. Scheduling for reduced CPU energy. In Proceedings of the 1st Symposium on Operating Systems Design and Implementation (OSDI-94), 1994:13–23.
[4] K. Govil, E. Chan and H. Wasserman. Comparing algorithms for dynamic speed-setting of a low-power CPU. In the 1st ACM International Conference on Mobile Computing and Networking (MOBICOM-95), 1995:13-25.
[5] J. Lorch and A. Smith. Improving dynamic voltage algorithms with PACE. In Proceedings of the International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS-01), 2001.
[6] Fen Xie, Margaret Martonosi and Sharad Malik. Compile-Time Dynamic Voltage Scaling Settings: Opportunities and Limits. In Proceedings of ACM SIGPLAN 2006 Conference on Programming Language Design and Implementation (PLDI-03). San Diego, California, USA. ACM Press, 2003:49-62.
[7] C. Hsu, U. Kremer and M. Hsiao. Compiler-Directed Dynamic Voltage/Frequency Scheduling for Energy Reduction in Microprocessors. In Proceedings of International Symp. on Low Power Electronics and Design (ISLPED-01), 2001:275–278.
作者簡介:
羅兆成(1974-),男,籍貫江西吉安,在讀碩士研究生,主要研究領域為低功耗編譯技術。