All mainstream CPUs and operating systems are dynamically adjusting frequency and other internal behavior to optimize power versus other factors. Some of these adjustment are done in hardware (i.e., intel_pstate aka "speed shift" aka HWP) which is both faster than software and can use internal metrics not available to software.
So you can't just say you're adjusting frequency dynamically to be optimal: something like that (or an attempt, at least) already happens. So what does this tool really do?