Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limiting CPU speed for profiling

Tags:

c++

profiling

cpu

I'm trying to optimize several bottlenecks on an application which is supposed to run on a really wide range of CPUs and architectures (some of them very close to embeded devices).

The results of my profiler, however, aren't really significant because of the speed of my CPU. Is there any way (preferably under Windows or Mac OS X) to limit the speed of my CPU for profiling purposes?

I've thought about using a virtual machine, but haven't found any with such functionality.

like image 701
Vicent Marti Avatar asked Sep 10 '08 17:09

Vicent Marti


1 Answers

This works well and supports multicore. http://www.cpukiller.com/

like image 118
Tony BenBrahim Avatar answered Oct 11 '22 14:10

Tony BenBrahim