check cpu freq every second

Signed-off-by: Grarak <williye97@gmail.com>