Support for external CPU frequency setup in benchmarks

On some system, the cycle counter is unavailable. This
patch adds a 'frequency' option on all benchmarks that
can be used to pass a known estimation of the CPU
frequency so that cycle coutn can be estiamted from
regular timing.