Searched refs:npp (Results 1 – 2 of 2) sorted by relevance
| /xnu-8792.41.9/bsd/net/ |
| H A D | net_perf.c | 33 static void ip_perf_record_stats(net_perf_t *npp, struct timeval *tv1, 35 static void update_bins(net_perf_t *npp, uint64_t bins); 38 net_perf_start_time(net_perf_t *npp, struct timeval *tv) in net_perf_start_time() argument 40 #pragma unused(npp) in net_perf_start_time() 45 net_perf_measure_time(net_perf_t *npp, struct timeval *start, uint64_t num_pkts) in net_perf_measure_time() argument 49 ip_perf_record_stats(npp, start, &stop, num_pkts); in net_perf_measure_time() 53 ip_perf_record_stats(net_perf_t *npp, struct timeval *tv1, struct timeval *tv2, uint64_t num_pkts) in ip_perf_record_stats() argument 59 OSAddAtomic64(usecs, &npp->np_total_usecs); in ip_perf_record_stats() 60 OSAddAtomic64(num_pkts, &npp->np_total_pkts); in ip_perf_record_stats() 64 update_bins(net_perf_t *npp, uint64_t bins) in update_bins() argument [all …]
|
| H A D | net_perf.h | 53 void net_perf_initialize(net_perf_t *npp, uint64_t bins); 54 void net_perf_start_time(net_perf_t *npp, struct timeval *tv); 55 void net_perf_measure_time(net_perf_t *npp, struct timeval *start, uint64_t num_pkts); 56 void net_perf_histogram(net_perf_t *npp, uint64_t num_pkts);
|