This is a profiler for the collections that will be analyzed by CECOTool
It needs processors with RAPL support
Don't forget to initialize the msr module with:
sudo modprobe msr
When using Eclipse, you should run it as sudo, otherwise the application will fail to use the MSR module.
To run the profiler:
- Go to the MainTest class
- Right click and go to 'Run As' - 'Run Configurations'
- At the 'Arguments' tab type: [hash|list|set|collision] number_of_threads amount_of_operations capacity loadfactor
- Parameters up to capacity are used by lists and sets, maps also use the fourth parameter, which is a float between 0 and 1