fix benchmarking_tools. user has to allocate memory for the array of clocks.
code working with benchmarking_tools