arrow
返回

CoSense: Compiler Optimizations using Sensor Technical Specifications

delete2024-02-20
delete0
delete
OA
AI
P
Pei Mu *
N
Nikolaos Mavrogeorgis
C
Christos Vasiladiotis
V
Vasileios Tsoutsouras
O
Orestis Kaparounakis
P
Phillip Stanley‐Marbell
A
Antonio Barbalace
DOI:10.1145/3640537.3641576delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Embedded systems are ubiquitous, but in order to maximize their lifetime on batteries there is a need for faster code execution - i.e., higher energy effciency, and for reduced memory usage. The large number of sensors integrated into embedded systems gives us the opportunity to exploit sensors' technical specifications, like a sensor's value range, to guide compiler optimizations for faster code execution, small binaries, etc. We design and implement such an idea in CoSense, a novel compiler (extension) based on the LLVM infrastructure, using an existing domain-specific language (DSL), Newton, to describe the bounds of and relations between physical quantities measured by sensors. CoSense utilizes previously unexploited physical information correlated to program variables to drive code optimizations. CoSense computes value ranges of variables and proceeds to overload functions, compress variable types, substitute code with constants and simplify the condition statements. We evaluated CoSense using several microbenchmarks and two real-world applications on various platforms and CPUs. For microbenchmarks, CoSense achieves 1.18x geomean speedup in execution time and 12.35% reduction on average in binary code size with 4.66% compilation time overhead on x86, and 1.23x geomean speedup in execution time and 10.95% reduction on average in binary code size with 5.67% compilation time overhead on ARM. For real-world applications, CoSense achieves 1.70x and 1.50x speedup in execution time, 12.96% and 0.60% binary code reduction, 9.69% and 30.43% lower energy consumption, with a 26.58% and 24.01% compilation time overhead, respectively.
Keyword:
embedded systems
sensors
interval arithmetic
value interval propagation
compiler optimizations

期刊

P
PROCEEDINGS OF THE ACM CONFERENCE ON SECURITY AND PRIVACY IN WIRELESS AND MOBILE NETWORKS
IF:
0
论文数:
1.8K
被引数:
0

机构

U
University of Cambridge
学者数:
7.7W
论文数: 7.1W
被引数: 13.7W
U
University of Edinburgh
学者数:
5.2W
论文数: 4.6W
被引数: 71
引用论文

引用论文

How to Create a Spin Current
err2005-01-28
err0
PREAI
errPrashant Sharma
err分享
err收藏
Preparation and characteristics of nanocrystalline NiO by organic solvent method
err2001-11-01
err0
PREAI
errGuo-Jun Li; Xiao-Xian Huang; Ying Shi; Jing-Kun Guo
err分享
err收藏
Small
err
IF0
err2023-07-03
err0
PREAI
err
err分享
err收藏
Biocompatible Magnetite Nanoparticles Trapped at the Air/Water Interface
err2010-11-05
err0
errOAAI
errCristina Stefaniu; Munish Chanana; Dayang Wang; Dmitri V. Novikov; Gerald Brezesinski; Helmuth Möhwald
err分享
err收藏
err分享
err收藏
Organization of carbon black in laminates of cellulose and melamine‐formaldehyde
err2005-01-13
err0
PREAI
errB. Voigt; D. Rouxel; D.H. McQueen; R.W. Rychwalski
err分享
err收藏
Direct Measurement of the Spin-Orbit Interaction in a Two-Electron InAs Nanowire Quantum Dot
err2007-06-26
err0
errOAAI
errC. Fasth; A. Fuhrer; L. Samuelson; Vitaly N. Golovach; Daniel Loss
err分享
err收藏
学者 查看更多内容