/freebsd-9.3-release/contrib/gcc/ |
H A D | ggc-page.c | 462 } stats; 1242 G.stats.total_overhead += overhead; 1243 G.stats.total_allocated += object_size; 1244 G.stats.total_overhead_per_order[order] += overhead; 1245 G.stats.total_allocated_per_order[order] += object_size; 1249 G.stats.total_overhead_under32 += overhead; 1250 G.stats.total_allocated_under32 += object_size; 1254 G.stats.total_overhead_under64 += overhead; 1255 G.stats.total_allocated_under64 += object_size; 1259 G.stats 460 } stats; member in struct:globals 1935 struct ggc_statistics stats; local [all...] |
H A D | ggc-zone.c | 453 } stats; member in struct:alloc_zone 1241 zone->stats.total_overhead += overhead; 1242 zone->stats.total_allocated += object_size; 1246 zone->stats.total_overhead_under32 += overhead; 1247 zone->stats.total_allocated_under32 += object_size; 1251 zone->stats.total_overhead_under64 += overhead; 1252 zone->stats.total_allocated_under64 += object_size; 1256 zone->stats.total_overhead_under128 += overhead; 1257 zone->stats.total_allocated_under128 += object_size; 1913 /* Print page survival stats, i 1965 struct ggc_statistics stats; local [all...] |
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | mp.c | 197 percent = MAX(mp->link.stats.total.in.OctetsPerSecond, 198 mp->link.stats.total.out.OctetsPerSecond) * 800 / 212 throughput_stop(&mp->link.stats.total); 218 if (mp->link.stats.total.SamplePeriod != mp->cfg.autoload.period) { 219 throughput_destroy(&mp->link.stats.total); 220 throughput_init(&mp->link.stats.total, mp->cfg.autoload.period); 221 throughput_callback(&mp->link.stats.total, mp_UpDown, mp); 225 throughput_start(&mp->link.stats.total, "MP throughput", 1); 233 if (mp->link.stats.total.SamplePeriod != mp->cfg.autoload.period) 236 throughput_clear(&mp->link.stats [all...] |
H A D | physical.c | 178 throughput_init(&p->link.stats.total, SAMPLE_PERIOD); 179 p->link.stats.parent = dl->bundle->ncp.mp.active ? 180 &dl->bundle->ncp.mp.link.stats.total : NULL; 181 p->link.stats.gather = 1; 359 throughput_stop(&p->link.stats.total); 360 throughput_log(&p->link.stats.total, LogPHASE, p->link.name); 394 throughput_destroy(&p->link.stats.total); 525 throughput_disp(&p->link.stats.total, arg->prompt); 631 p->link.stats.total.in.SampleOctets = (long long *)iov[(*niov)++].iov_base; 632 p->link.stats [all...] |
/freebsd-9.3-release/sys/dev/ste/ |
H A D | if_ste.c | 618 * If an error occurs, update stats, clear the 809 /* Rx stats. */ 816 /* Tx stats. */ 835 struct ste_hw_stats *stats; local 841 stats = &sc->ste_stats; 842 /* Rx stats. */ 846 stats->rx_bytes += val; 847 stats->rx_frames += CSR_READ_2(sc, STE_STAT_RX_FRAMES); 848 stats->rx_bcast_frames += CSR_READ_1(sc, STE_STAT_RX_BCAST); 849 stats 2040 struct ste_hw_stats *stats; local [all...] |
/freebsd-9.3-release/sys/ia64/ia64/ |
H A D | mp_machdep.c | 106 PCPU_INC(md.stats.pcs_nasts); 115 PCPU_INC(md.stats.pcs_nhardclocks); 125 PCPU_INC(md.stats.pcs_nhighfps); 134 PCPU_INC(md.stats.pcs_npreempts); 144 PCPU_INC(md.stats.pcs_nrdvs); 155 PCPU_INC(md.stats.pcs_nstops);
|
/freebsd-9.3-release/sys/dev/ale/ |
H A D | if_ale.c | 782 struct ale_hw_stats *stats; local 785 stats = &sc->ale_stats; 841 &stats->reset_brk_seq, 844 tree = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "stats", CTLFLAG_RD, 853 &stats->rx_frames, "Good frames"); 855 &stats->rx_bcast_frames, "Good broadcast frames"); 857 &stats->rx_mcast_frames, "Good multicast frames"); 859 &stats->rx_pause_frames, "Pause control frames"); 861 &stats->rx_control_frames, "Control frames"); 863 &stats [all...] |
/freebsd-9.3-release/sys/contrib/altq/altq/ |
H A D | altq_priq.c | 212 struct priq_classstats stats; local 221 if (*nbytes < sizeof(stats)) 224 get_class_stats(&stats, cl); 226 if ((error = copyout((caddr_t)&stats, ubuf, sizeof(stats))) != 0) 228 *nbytes = sizeof(stats); 1010 struct priq_classstats stats, *usp; local 1019 usp = ap->stats; 1023 get_class_stats(&stats, cl); 1025 bzero(&stats, sizeo [all...] |
/freebsd-9.3-release/sys/dev/alc/ |
H A D | if_alc.c | 1128 struct alc_hw_stats *stats; local 1131 stats = &sc->alc_stats; 1185 tree = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "stats", CTLFLAG_RD, 1194 &stats->rx_frames, "Good frames"); 1196 &stats->rx_bcast_frames, "Good broadcast frames"); 1198 &stats->rx_mcast_frames, "Good multicast frames"); 1200 &stats->rx_pause_frames, "Pause control frames"); 1202 &stats->rx_control_frames, "Control frames"); 1204 &stats->rx_crcerrs, "CRC errors"); 1206 &stats [all...] |
/freebsd-9.3-release/sys/dev/iscsi/initiator/ |
H A D | iscsi.c | 307 sprintf(buf, "%d/%d /---- hld -----/\n", sp->stats.nhld, sp->stats.max_hld); 315 sprintf(buf, "%d/%d /---- rsp -----/\n", sp->stats.nrsp, sp->stats.max_rsp); 324 sprintf(buf, "%d/%d /---- csnd -----/\n", sp->stats.ncsnd, sp->stats.max_csnd); 333 sprintf(buf, "%d/%d /---- wsnd -----/\n", sp->stats.nwsnd, sp->stats.max_wsnd); 342 sprintf(buf, "%d/%d /---- isnd -----/\n", sp->stats.nisnd, sp->stats [all...] |
/freebsd-9.3-release/sys/dev/age/ |
H A D | if_age.c | 748 "stats", CTLTYPE_INT | CTLFLAG_RW, sc, 0, sysctl_age_stats, 2040 /* Rx stats. */ 2066 /* Tx stats. */ 3199 struct age_stats *stats; local 3212 stats = &sc->age_stat; 3215 (uintmax_t)stats->tx_frames); 3217 (uintmax_t)stats->tx_bcast_frames); 3219 (uintmax_t)stats->tx_mcast_frames); 3221 stats->tx_pause_frames); 3223 stats [all...] |
/freebsd-9.3-release/share/examples/netgraph/ |
H A D | ether.bridge | 19 # 4. Examine bridging statistics by running this script with "stats" 61 # Routine to get and display link stats. 159 stats) 168 echo "usage: $0 [ start | stop | stats ]"
|
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_htable.c | 81 iphtstat_t stats; local 83 if (op->iplo_size != sizeof(stats)) 86 stats.iphs_tables = ipf_htables[op->iplo_unit]; 87 stats.iphs_numtables = ipf_nhtables[op->iplo_unit]; 88 stats.iphs_numnodes = ipf_nhtnodes[op->iplo_unit]; 89 stats.iphs_nomem = ipht_nomem[op->iplo_unit]; 91 return COPYOUT(&stats, op->iplo_struct, sizeof(stats));
|
/freebsd-9.3-release/sys/dev/ae/ |
H A D | if_ae.c | 147 static void ae_update_stats_rx(uint16_t flags, ae_stats_t *stats); 148 static void ae_update_stats_tx(uint16_t flags, ae_stats_t *stats); 406 struct sysctl_oid *root, *stats, *stats_rx, *stats_tx; local 410 ae_stats = &sc->stats; 414 stats = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(root), OID_AUTO, "stats", 420 stats_rx = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(stats), OID_AUTO, "rx", 446 stats_tx = SYSCTL_ADD_NODE(ctx, SYSCTL_CHILDREN(stats), OID_AUTO, "tx", 1837 /* Update stats. */ 1838 ae_update_stats_tx(flags, &sc->stats); 2207 ae_update_stats_tx(uint16_t flags, ae_stats_t *stats) argument 2235 ae_update_stats_rx(uint16_t flags, ae_stats_t *stats) argument [all...] |
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_misc.c | 413 ar5211UpdateMibCounters(struct ath_hal *ah, HAL_MIB_STATS *stats) argument 415 stats->ackrcv_bad += OS_REG_READ(ah, AR_ACK_FAIL); 416 stats->rts_bad += OS_REG_READ(ah, AR_RTS_FAIL); 417 stats->fcs_bad += OS_REG_READ(ah, AR_FCS_FAIL); 418 stats->rts_good += OS_REG_READ(ah, AR_RTS_OK); 419 stats->beacons += OS_REG_READ(ah, AR_BEACON_CNT); 572 ar5211RxMonitor(struct ath_hal *ah, const HAL_NODE_STATS *stats, argument 578 ar5211MibEvent(struct ath_hal *ah, const HAL_NODE_STATS *stats) argument
|
/freebsd-9.3-release/sys/dev/nxge/include/ |
H A D | xgehal-channel.h | 35 #include <dev/nxge/include/xgehal-stats.h> 318 * @stats: Channel statistcis. Includes HAL internal counters, including 385 xge_hal_stats_channel_info_t stats; member in struct:__anon8576
|
/freebsd-9.3-release/tools/tools/ath/athstats/ |
H A D | statfoo.h | 40 * for stats that correspond 1-1 w/ a collected stat 41 * and for stats that are calculated indirectly. 59 /* format a statistic from the current stats */ \ 61 /* format a statistic from the total stats */ \ 80 const struct fmt *stats; /* statistics in class */ member in struct:statfoo 81 int nstats; /* number of stats */ 82 unsigned char fmts[4096]; /* private: compiled stats to display */ 88 const struct fmt *stats, int nstats);
|
/freebsd-9.3-release/tools/tools/mwl/mwlstats/ |
H A D | statfoo.h | 40 * for stats that correspond 1-1 w/ a collected stat 41 * and for stats that are calculated indirectly. 59 /* format a statistic from the current stats */ \ 61 /* format a statistic from the total stats */ \ 80 const struct fmt *stats; /* statistics in class */ member in struct:statfoo 81 int nstats; /* number of stats */ 82 unsigned char fmts[4096]; /* private: compiled stats to display */ 88 const struct fmt *stats, int nstats);
|
/freebsd-9.3-release/tools/tools/net80211/wlanstats/ |
H A D | statfoo.h | 40 * for stats that correspond 1-1 w/ a collected stat 41 * and for stats that are calculated indirectly. 59 /* format a statistic from the current stats */ \ 61 /* format a statistic from the total stats */ \ 80 const struct fmt *stats; /* statistics in class */ member in struct:statfoo 81 int nstats; /* number of stats */ 83 unsigned char fmts[4096]; /* private: compiled stats to display */ 89 const struct fmt *stats, int nstats);
|
/freebsd-9.3-release/tools/tools/npe/npestats/ |
H A D | statfoo.h | 40 * for stats that correspond 1-1 w/ a collected stat 41 * and for stats that are calculated indirectly. 59 /* format a statistic from the current stats */ \ 61 /* format a statistic from the total stats */ \ 80 const struct fmt *stats; /* statistics in class */ member in struct:statfoo 81 int nstats; /* number of stats */ 82 unsigned char fmts[4096]; /* private: compiled stats to display */ 88 const struct fmt *stats, int nstats);
|
/freebsd-9.3-release/sys/dev/bge/ |
H A D | if_bge.c | 2340 /* Inialize RX list placement stats mask. */ 2416 /* Turn on DMA, clear stats. */ 4840 struct bge_mac_stats *stats; local 4844 stats = &sc->bge_mac_stats; 4846 stats->ifHCOutOctets += 4848 stats->etherStatsCollisions += 4850 stats->outXonSent += 4852 stats->outXoffSent += 4854 stats->dot3StatsInternalMacTransmitErrors += 4856 stats 5008 bus_size_t stats; local 6480 struct bge_mac_stats *stats; local [all...] |
/freebsd-9.3-release/contrib/bind9/lib/isc/pthreads/include/isc/ |
H A D | mutex.h | 62 isc_mutexstats_t * stats; /*%< Mutex statistics. */ member in struct:__anon266
|
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-bt-linux.c | 375 bt_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument 389 "Can't get stats via ioctl: %s", strerror(errno)); 394 /* we receive both rx and tx frames, so comulate all stats */ 395 stats->ps_recv = s->evt_rx + s->acl_rx + s->sco_rx + s->cmd_tx + 397 stats->ps_drop = s->err_rx + s->err_tx; 398 stats->ps_ifdrop = 0;
|
H A D | pcap-canusb-linux.c | 432 canusb_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument 435 stats->ps_recv = 0; /* number of packets received */ 436 stats->ps_drop = 0; /* number of packets dropped */ 437 stats->ps_ifdrop = 0; /* drops by interface -- only supported on some platforms */
|
/freebsd-9.3-release/lib/libdevstat/ |
H A D | devstat.h | 152 int devstat_getdevs(kvm_t *kd, struct statinfo *stats);
|