How to fix CPU frequency while executing OpenMP code?