I want to measure how many times C++ function will be executed per N seconds, is there a way to do that via google benchmark? Maybe using some lambda for ComputeStatistics function?
If there is no way to do it via google benchmark: are there any other ways of measuring throughput?
Actually, the easiest way is to use
->MinTime(seconds)for each of your benchmarks you want to calculate throughput for, and then simply takingIterationsfrom each of the benchmarks.