Add cpu hardcapping support.