]>
git.saurik.com Git - apple/xnu.git/blob - tools/tests/perf_index/perfindex-iperf.c
1 #include "perf_index.h"
7 VERIFY(test_argc
> 0, "missing argument");
9 return PERFINDEX_SUCCESS
;
16 retval
= asprintf(&cmd
, "iperf -c \"%s\" -n %lld > /dev/null", test_argv
[0], length
);
17 VERIFY(retval
> 0, "asprintf failed");
20 VERIFY(retval
== 0, "iperf command failed");
22 return PERFINDEX_SUCCESS
;