Searched refs:stats (Results 1 - 25 of 39) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/i386/
H A Dprofile-md.c56 * Print out fractional digits for average # of hash searches in stats.
67 * Make most stats 64 bits, except for things like memory allocation.
94 * Print stats as an unsigned number.
101 * Move _gprof_write code that updates hash stats to _profile_update_stats.
113 * Add stats for {user,kernel,idle} mode in the kernel.
116 * Print unused stats in hex as well as decimal.
124 * Combine _profile_{vars,stats,md}; Allow more than one _profile_vars.
131 * Make allocations print like other stats.
140 * Print structure sizes and version number when printing stats.
157 * Write out stats unuse
919 _profile_print_stats(FILE *stream, const struct profile_stats *stats, const struct profile_profil *pinfo) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dppp_deflate.c92 struct compstat stats; member in struct:deflate_state
113 static void z_comp_stats(void *state, struct compstat *stats);
210 bzero(&state->stats, sizeof(state->stats));
368 state->stats.comp_bytes += olen;
369 state->stats.comp_packets++;
375 state->stats.inc_bytes += orig_len;
376 state->stats.inc_packets++;
379 state->stats.unc_bytes += orig_len;
380 state->stats
[all...]
H A Dif_ppp.h118 struct ppp_stats stats; member in struct:ifpppstatsreq
123 struct ppp_comp_stats stats; member in struct:ifpppcstatsreq
H A Dppp_comp.h92 void (*comp_stat)(void *state, struct compstat *stats);
108 void (*decomp_stat)(void *state, struct compstat *stats);
H A Dkpi_interface.c634 const struct ifnet_stats_param *stats)
645 interface->if_data.ifi_ipackets = stats->packets_in;
646 interface->if_data.ifi_ibytes = stats->bytes_in;
647 interface->if_data.ifi_imcasts = stats->multicasts_in;
648 interface->if_data.ifi_ierrors = stats->errors_in;
650 interface->if_data.ifi_opackets = stats->packets_out;
651 interface->if_data.ifi_obytes = stats->bytes_out;
652 interface->if_data.ifi_omcasts = stats->multicasts_out;
653 interface->if_data.ifi_oerrors = stats->errors_out;
655 interface->if_data.ifi_collisions = stats
632 ifnet_set_stat( ifnet_t interface, const struct ifnet_stats_param *stats) argument
668 ifnet_stat( ifnet_t interface, struct ifnet_stats_param *stats) argument
[all...]
H A Dbsd_comp.c185 static void bsd_comp_stats(void *state, struct compstat *stats);
300 bsd_comp_stats(state, stats)
302 struct compstat *stats;
307 stats->unc_bytes = db->uncomp_bytes;
308 stats->unc_packets = db->uncomp_count;
309 stats->comp_bytes = db->comp_bytes;
310 stats->comp_packets = db->comp_count;
311 stats->inc_bytes = db->incomp_bytes;
312 stats->inc_packets = db->incomp_count;
313 stats
[all...]
H A Dif_stf.c674 struct ifnet_stat_increment_param stats; local
746 bzero(&stats, sizeof(stats));
747 stats.packets_in = 1;
748 stats.bytes_in = mbuf_pkthdr_len(m);
750 ifnet_input(ifp, m, &stats);
H A Dkpi_interface.h1038 @param stats Counts to be integrated in to the stats. The interface
1040 stats. This parameter may be NULL.
1044 const struct ifnet_stat_increment_param *stats);
1245 @param counts The new stats values.
1249 const struct ifnet_stats_param *stats);
H A Ddlil.c824 const struct ifnet_stat_increment_param *stats)
932 if (stats) {
933 ifp->if_data.ifi_ipackets += stats->packets_in;
934 ifp->if_data.ifi_ibytes += stats->bytes_in;
935 ifp->if_data.ifi_ierrors += stats->errors_in;
937 ifp->if_data.ifi_opackets += stats->packets_out;
938 ifp->if_data.ifi_obytes += stats->bytes_out;
939 ifp->if_data.ifi_oerrors += stats->errors_out;
941 ifp->if_data.ifi_collisions += stats->collisions;
942 ifp->if_data.ifi_iqdrops += stats
821 ifnet_input( ifnet_t ifp, mbuf_t m_head, const struct ifnet_stat_increment_param *stats) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dmach_clock.c152 PROF_CNT_INC(pv->stats.user_ticks);
157 PROF_CNT_INC(pv->stats.idle_ticks);
159 PROF_CNT_INC(pv->stats.kernel_ticks);
162 PROF_CNT_INC(pv->stats.too_low);
170 PROF_CNT_INC(pv->stats.too_high);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_mbuf.c959 /* mbuf stats */
960 void mbuf_stats(struct mbuf_stat *stats) argument
962 stats->mbufs = mbstat.m_mbufs;
963 stats->clusters = mbstat.m_clusters;
964 stats->clfree = mbstat.m_clfree;
965 stats->drops = mbstat.m_drops;
966 stats->wait = mbstat.m_wait;
967 stats->drain = mbstat.m_drain;
968 __builtin_memcpy(stats->mtypes, mbstat.m_mtypes, sizeof(stats
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/
H A Dprofile-mk.c141 pv->stats.profil_buckets = monsize / sizeof(LHISTCOUNTER);
144 pv->stats.my_cpu = i;
145 pv->stats.max_cpu = NCPUS;
H A Dprofile-internal.h300 prof_flag_t output_stats; /* != 0 if output the stats */
311 struct profile_stats stats; /* profiling statistics */ member in struct:profile_vars
H A Dprofile-kgmon.c61 * Explicitly call _profile_update_stats before dumping vars or stats.
64 * Combine _profile_{vars,stats,md}; Allow more than one _profile_vars.
238 *p_ptr = (void *)&pv->stats;
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dpmap.h205 struct pmap_statistics stats; /* statistics */ member in struct:pmap
263 #define pmap_resident_count(pmap) ((pmap)->stats.resident_count)
264 #define pmap_resident_max(pmap) ((pmap)->stats.resident_max)
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dmachine_routines.c141 kernel_pmap->stats.resident_count++;
142 if (kernel_pmap->stats.resident_count >
143 kernel_pmap->stats.resident_max) {
144 kernel_pmap->stats.resident_max =
145 kernel_pmap->stats.resident_count;
H A Dpmap.c1606 p->stats.resident_count = 0;
1607 p->stats.resident_max = 0;
1608 p->stats.wired_count = 0;
2117 if (pmap->stats.resident_count < num_removed)
2120 assert(pmap->stats.resident_count >= num_removed);
2121 OSAddAtomic(-num_removed, (SInt32 *) &pmap->stats.resident_count);
2124 if (pmap->stats.wired_count < num_unwired)
2127 assert(pmap->stats.wired_count >= num_unwired);
2128 OSAddAtomic(-num_unwired, (SInt32 *) &pmap->stats.wired_count);
2349 if (pmap->stats
[all...]
H A Dpmap.h431 struct pmap_statistics stats; /* map statistics */ member in struct:pmap
761 #define pmap_resident_count(pmap) ((pmap)->stats.resident_count)
762 #define pmap_resident_max(pmap) ((pmap)->stats.resident_max)
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Ddrv_dep.c300 ifID->stats.rcv_packets++;
302 ifID->stats.rcv_bytes += m1->m_len;
H A Dat_var.h175 at_elap_stats_t stats; member in struct:at_ifaddr
H A Dddp.c84 snmpStats_t snmpStats; /* snmp ddp & echo stats */
844 ifID->stats.xmit_packets++;
845 ifID->stats.xmit_bytes += gbuf_msgsize(m);
1284 ifID->stats.xmit_packets++;
1285 ifID->stats.xmit_bytes += gbuf_msgsize(m);
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_vfsops.c810 struct vfsstatfs *stats = vfs_statfs(mp); local
820 VFSATTR_RETURN(fsap, f_iosize, stats->f_iosize);
821 VFSATTR_RETURN(fsap, f_blocks, stats->f_blocks);
822 VFSATTR_RETURN(fsap, f_bfree, stats->f_bfree);
823 VFSATTR_RETURN(fsap, f_bavail, stats->f_bavail);
824 VFSATTR_RETURN(fsap, f_bused, stats->f_blocks);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Din6_proto.c479 SYSCTL_STRUCT(_net_inet6_ip6, IPV6CTL_STATS, stats, CTLFLAG_RD,
538 SYSCTL_STRUCT(_net_inet6_icmp6, ICMPV6CTL_STATS, stats, CTLFLAG_RD,
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Ddb_print.c471 resident = pmap->stats.resident_count;
472 wired = pmap->stats.wired_count;
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Digmp.c117 SYSCTL_STRUCT(_net_inet_igmp, IGMPCTL_STATS, stats, CTLFLAG_RD,

Completed in 156 milliseconds

12