Added method measure_perf_all_IPs