Skip to content

saifulalam113/Thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

jRAPL:
Run the following command( For the first time):
1. $ cd libpfm/ 
2. $ sudo make install 




Follow the rules:

1. Insert your testing codeblock in "EnergyCheckUtils.java" .There is a place in 'main()' function where you can insert your codeblock which you want to test. Then save it.

2. After inserting codeblock in 'main()' function, open terminal in current folder and run the following command:

		
		1. $ sudo modprobe msr
		2. $ javac EnergyCheckUtils.java
		3. $ sudo java EnergyCheckUtils


After running these commands successfully, you can see result in terminal.





cRAPL:
Follow the rules:

1. Insert your testing codeblock in "PowerConsumption.c" .There is a place in 'main()' function where you can insert your codeblock which you want to test. Then save it.

2. After inserting codeblock in 'main()' function, open terminal in current folder and run the following command:

		
		1. $ sudo modprobe msr
		2. $ g++ -o PowerConsumption PowerConsumption.c -lm
		3. $ sudo ./PowerConsumption


After running these commands successfully, you can see result in terminal.




About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published