Download "user manual"
Transcript
2.3 Power estimation flow with powprof framework The following figure shows the power estimation flow with our framework. Perl binary profiling Bochs emulator powest format file powest configuration powest Power estimations We have already discussed the two instruction traces’ alternatives, perl profiling and bochs emulator. After using them, we have a powest formatted instruction trace file. This file and a powest configuration file are given to the powest tool that creates the final power estimation results. It must be noted that pwoest formatted instruction traces and powest configuration files are platform dependant but powest is not. It can be used with any processor or instruction format like binary, Intel or AT&T assembly or even more be integrated inside any profiling framework to provide power estimations. 2.4 The powest configuration file The real power and flexibility of the powest tool relies on its configuration file. By modifying its entries one can re-use the powest for estimating power on: 1. 2. 3. 4. 5. Different processor with the same instruction set Different processors with different instruction sets Different systems Different compilers or assembly notions. Different operation modes in terms of voltage and frequency We can see the example of the configuration file bellow. Comment: All values in mA. #config #config #config #config #config static volt 3.3 freq 133 dcurre dclock push.* pop.* 428 451 4 100 100 mA static current 3.3V power supply Frequency in MHz 400.0 Default cost 400mA 2 Default cost 2 clock cycles 1 stack opperations Push functions stack opperations Pop functions 7