Special Topics For Embedded Systems: (Balancing Memory Usage, Speed, Performance)
Special Topics For Embedded Systems: (Balancing Memory Usage, Speed, Performance)
Embedded Systems
(Balancing memory usage, speed,
performance)
Optimizing ROM
ROM Need to Initialize Variables
Initialization Method 1
Initialization Method 2
batterylife.c
Use the simulator, 2013.
Must cause linker to generate output information
View->Profiling
Must enable the profiler (Left-most power button)
Run program and then check values
ROM Size (bytes)
sample1()
sample2()
sample3()