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

1234567891011>>

/freebsd-11-stable/tools/tools/crypto/
H A Dubsecstats.c43 struct ubsec_stats stats; local
46 slen = sizeof (stats);
47 if (sysctlbyname("hw.ubsec.stats", &stats, &slen, NULL, 0) < 0)
51 stats.hst_ibytes, stats.hst_ipackets);
53 stats.hst_obytes, stats.hst_opackets);
55 stats.hst_invalid, stats
[all...]
H A Dsafestats.c43 struct safe_stats stats; local
46 slen = sizeof (stats);
47 if (sysctlbyname("hw.safe.stats", &stats, &slen, NULL, 0) < 0)
48 err(1, "hw.safe.stats");
51 stats.st_ibytes, stats.st_ipackets);
53 stats.st_obytes, stats.st_opackets);
55 stats
[all...]
H A Dhifnstats.c43 struct hifn_stats stats; local
46 slen = sizeof (stats);
47 if (sysctlbyname("hw.hifn.stats", &stats, &slen, NULL, 0) < 0)
48 err(1, "kern.hifn.stats");
51 stats.hst_ibytes, stats.hst_ipackets);
53 stats.hst_obytes, stats.hst_opackets);
55 stats
[all...]
H A Dcryptostats.c31 * zero all the stats or just the timing stuff.
63 struct cryptostats stats; local
66 slen = sizeof (stats);
67 if (sysctlbyname("kern.crypto_stats", &stats, &slen, NULL, 0) < 0)
71 bzero(&stats.cs_invoke, sizeof (stats.cs_invoke));
72 bzero(&stats.cs_done, sizeof (stats.cs_done));
73 bzero(&stats.cs_cb, sizeof (stats
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dstats.c32 #include <isc/stats.h>
77 * of the stats structure so that the dump operation won't fail due
89 isc_stats_t *stats; local
94 stats = isc_mem_get(mctx, sizeof(*stats));
95 if (stats == NULL)
98 result = isc_mutex_init(&stats->lock);
102 stats->counters = isc_mem_get(mctx, sizeof(isc_stat_t) * ncounters);
103 if (stats->counters == NULL) {
107 stats
150 isc_stats_attach(isc_stats_t *stats, isc_stats_t **statsp) argument
163 isc_stats_t *stats; local
188 isc_stats_ncounters(isc_stats_t *stats) argument
195 incrementcounter(isc_stats_t *stats, int counter) argument
233 decrementcounter(isc_stats_t *stats, int counter) argument
259 copy_counters(isc_stats_t *stats) argument
295 isc_stats_increment(isc_stats_t *stats, isc_statscounter_t counter) argument
303 isc_stats_decrement(isc_stats_t *stats, isc_statscounter_t counter) argument
311 isc_stats_dump(isc_stats_t *stats, isc_stats_dumper_t dump_fn, void *arg, unsigned int options) argument
[all...]
/freebsd-11-stable/tools/tools/mtxstat/
H A Dmtxratio.sh2 sysctl debug.mutex.prof.stats | awk '$1 ~ /[0-9]+/ { if ($3 != 0) { hld_prc = $5 / $3 * 100; lck_prc = $6 / $3 * 100 } else { hld_prc = 0; lck_prc = 0 } print $1 " " $2 " " $3 " " $4 " " $5 " " hld_prc " " $6 " " lck_prc " " substr($0, index($0, $7)); next } { print }'
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_stats.cpp57 void AsanStats::MergeFrom(const AsanStats *stats) { argument
59 const uptr *src_ptr = reinterpret_cast<const uptr*>(stats);
78 accumulated_stats->MergeFrom(&t->stats());
81 static void GetAccumulatedStats(AsanStats *stats) { argument
82 stats->Clear();
86 .RunCallbackForEachThreadLocked(MergeThreadStats, stats);
88 stats->MergeFrom(&unknown_thread_stats);
91 stats->MergeFrom(&dead_threads_stats);
96 if (max_malloced_memory < stats->malloced) {
97 max_malloced_memory = stats
101 FlushToDeadThreadStats(AsanStats *stats) argument
108 AsanStats stats; local
122 AsanStats stats; local
139 AsanStats stats; local
149 AsanStats stats; local
155 AsanStats stats; local
[all...]
/freebsd-11-stable/contrib/top/
H A Ddisplay.h18 void i_arc(int *stats);
19 void i_carc(int *stats);
22 void i_memory(int *stats);
26 void i_swap(int *stats);
32 void u_arc(int *stats);
33 void u_carc(int *stats);
38 void u_memory(int *stats);
42 void u_swap(int *stats);
/freebsd-11-stable/gnu/usr.bin/grep/
H A Disdir.c39 struct stat stats; local
41 return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode);
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_stats.h149 static inline uint32_t osm_stats_inc_qp0_outstanding(osm_stats_t *stats) argument
154 pthread_mutex_lock(&stats->mutex);
155 outstanding = ++stats->qp0_mads_outstanding;
156 pthread_mutex_unlock(&stats->mutex);
158 outstanding = cl_atomic_inc(&stats->qp0_mads_outstanding);
164 static inline uint32_t osm_stats_dec_qp0_outstanding(osm_stats_t *stats) argument
169 pthread_mutex_lock(&stats->mutex);
170 outstanding = --stats->qp0_mads_outstanding;
172 pthread_cond_signal(&stats->cond);
173 pthread_mutex_unlock(&stats
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Dstats.h22 /*! \file isc/stats.h */
56 isc_stats_attach(isc_stats_t *stats, isc_stats_t **statsp);
61 *\li 'stats' is a valid isc_stats_t.
76 isc_stats_ncounters(isc_stats_t *stats);
78 * Returns the number of counters contained in stats.
81 *\li 'stats' is a valid isc_stats_t.
86 isc_stats_increment(isc_stats_t *stats, isc_statscounter_t counter);
88 * Increment the counter-th counter of stats.
91 *\li 'stats' is a valid isc_stats_t.
93 *\li counter is less than the maximum available ID for the stats specifie
[all...]
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-stats.c29 #include <dev/nxge/include/xgehal-stats.h>
34 * @stats: xge_hal_stats_t structure that contains, in particular,
42 __hal_stats_initialize (xge_hal_stats_t *stats, xge_hal_device_h devh) argument
47 xge_assert(!stats->is_initialized);
56 stats->hw_info =
61 &stats->hw_info_dmah,
62 &stats->hw_info_dma_acch);
64 if (stats->hw_info == NULL) {
68 xge_os_memzero(stats->hw_info,
70 xge_os_memzero(&stats
189 __hal_stats_save(xge_hal_stats_t *stats) argument
219 __hal_stats_disable(xge_hal_stats_t *stats) argument
253 __hal_stats_terminate(xge_hal_stats_t *stats) argument
310 __hal_stats_enable(xge_hal_stats_t *stats) argument
[all...]
/freebsd-11-stable/contrib/unbound/daemon/
H A Dstats.h2 * daemon/stats.h - collect runtime performance indicators.
53 /* stats struct */
57 * Initialize server stats to 0.
58 * @param stats: what to init (this is alloced by the caller).
61 void server_stats_init(struct ub_server_stats* stats, struct config_file* cfg);
64 void server_stats_querymiss(struct ub_server_stats* stats, struct worker* worker);
67 void server_stats_prefetch(struct ub_server_stats* stats, struct worker* worker);
69 /** display the stats to the log */
70 void server_stats_log(struct ub_server_stats* stats, struct worker* worker,
74 * Obtain the stats inf
[all...]
H A Dstats.c2 * daemon/stats.c - collect runtime performance indicators.
48 #include "daemon/stats.h"
87 void server_stats_init(struct ub_server_stats* stats, struct config_file* cfg) argument
89 memset(stats, 0, sizeof(*stats));
90 stats->extended = cfg->stat_extended;
93 void server_stats_querymiss(struct ub_server_stats* stats, struct worker* worker) argument
95 stats->num_queries_missed_cache++;
96 stats->sum_query_list_size += worker->env.mesh->all.count;
97 if((long long)worker->env.mesh->all.count > stats
101 server_stats_prefetch(struct ub_server_stats* stats, struct worker* worker) argument
110 server_stats_log(struct ub_server_stats* stats, struct worker* worker, int threadnum) argument
473 server_stats_insquery(struct ub_server_stats* stats, struct comm_point* c, uint16_t qtype, uint16_t qclass, struct edns_data* edns, struct comm_reply* repinfo) argument
522 server_stats_insrcode(struct ub_server_stats* stats, sldns_buffer* buf) argument
[all...]
/freebsd-11-stable/tools/LibraryReport/
H A DLibraryReport.tcl64 global Libs stats verbose;
123 set stats(libs) [llength [array names Libs]];
138 global stats verbose;
151 incr stats(dirs);
159 incr stats(files);
185 global Libs stats verbose;
193 incr stats(execs);
260 global stats verbose argv;
275 set stats(libs) 0;
276 set stats(dir
[all...]
/freebsd-11-stable/contrib/subversion/subversion/svnfsfs/
H A Dstats-cmd.c0 /* stats-cmd.c -- implements the size stats sub-command.
69 print_rep_stats(svn_fs_fs__representation_stats_t *stats, argument
79 svn__ui64toa_sep(stats->total.packed_size, ',', pool),
80 svn__ui64toa_sep(stats->total.count, ',', pool),
81 svn__ui64toa_sep(stats->shared.packed_size, ',', pool),
82 svn__ui64toa_sep(stats->shared.count, ',', pool),
83 svn__ui64toa_sep(stats->total.expanded_size, ',', pool),
84 svn__ui64toa_sep(stats->shared.expanded_size, ',', pool),
85 svn__ui64toa_sep(stats
182 get_by_extensions(svn_fs_fs__stats_t *stats, int (*comparison_func)(const svn_sort__item_t *, const svn_sort__item_t *), apr_pool_t *pool) argument
231 print_extensions_by_changes(svn_fs_fs__stats_t *stats, apr_pool_t *pool) argument
282 print_extensions_by_nodes(svn_fs_fs__stats_t *stats, apr_pool_t *pool) argument
317 print_extensions_by_reps(svn_fs_fs__stats_t *stats, apr_pool_t *pool) argument
351 print_histograms_by_extension(svn_fs_fs__stats_t *stats, apr_pool_t *pool) argument
376 print_stats(svn_fs_fs__stats_t *stats, apr_pool_t *pool) argument
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/pthreads/
H A Dmutex.c92 static isc_mutexstats_t stats[ISC_MUTEX_PROFTABLESIZE]; variable
122 mp->stats = &stats[stats_next++];
126 mp->stats->file = file;
127 mp->stats->line = line;
128 mp->stats->count = 0;
129 timevalclear(&mp->stats->locked_total);
130 timevalclear(&mp->stats->wait_total);
132 mp->stats->lockers[i].file = NULL;
133 mp->stats
[all...]
/freebsd-11-stable/contrib/sendmail/src/
H A Dstats.c16 SM_RCSID("@(#)$Id: stats.c,v 8.58 2013-11-22 20:51:56 ca Exp $")
22 static bool GotStats = false; /* set when we have stats to merge */
33 ** type -- type of stats this represents.
138 struct statistics stats; local
165 if (read(fd, (char *) &stats, sizeof(stats)) == sizeof(stats) &&
166 stats.stat_size == sizeof(stats) &&
167 stats
[all...]
/freebsd-11-stable/sys/contrib/rdma/krping_compat/
H A Dkrping_dev.c61 struct krping_stats *stats; member in struct:stats_list_entry
107 krping_copy_stats(struct krping_stats *stats, void *arg) argument
115 if (stats != NULL) {
116 s->stats = malloc(sizeof(*stats), M_DEVBUF, M_NOWAIT | M_ZERO);
117 if (s->stats == NULL) {
121 *s->stats = *stats;
146 if (e->stats == NULL)
149 struct krping_stats *stats local
[all...]
/freebsd-11-stable/sys/contrib/rdma/krping/
H A Dkrping_dev.c63 struct krping_stats *stats; member in struct:stats_list_entry
108 krping_copy_stats(struct krping_stats *stats, void *arg) argument
116 if (stats != NULL) {
117 s->stats = malloc(sizeof(*stats), M_DEVBUF, M_NOWAIT | M_ZERO);
118 if (s->stats == NULL) {
122 *s->stats = *stats;
147 if (e->stats == NULL)
150 struct krping_stats *stats local
[all...]
/freebsd-11-stable/contrib/sendmail/mailstats/
H A Dmailstats.c67 struct statistics stats; local
224 if ((fd < 0) || (i = read(fd, &stats, sizeof stats)) < 0)
235 if ((i = read(fd, &stats, sizeof stats)) < 0)
246 memset((ARBPTR_T) &stats, '\0', sizeof stats);
247 (void) time(&stats.stat_itime);
252 if (stats.stat_magic != STAT_MAGIC)
259 else if (stats
[all...]
/freebsd-11-stable/tools/tools/iwi/
H A Diwistats.c113 static uint32_t stats[256]; local
122 len = sizeof(stats);
123 (void)snprintf(oid, sizeof(oid), "dev.iwi.%u.stats", ifaceno);
124 if (sysctlbyname(oid, stats, &len, NULL, 0) == -1)
128 (void)printf("%-60s[%u]\n", stat->desc, stats[stat->index]);
/freebsd-11-stable/lib/libclang_rt/stats_client/
H A DMakefile7 SRCS+= stats/stats_client.cpp
/freebsd-11-stable/sys/netgraph/
H A Dng_tee.c69 struct ng_tee_hookstat stats; member in struct:hookinfo
199 bzero(&hinfo->stats, sizeof(hinfo->stats));
223 struct ng_tee_stats *stats; local
227 sizeof(*stats), M_NOWAIT);
232 stats = (struct ng_tee_stats *)resp->data;
233 bcopy(&sc->right.stats, &stats->right,
234 sizeof(stats->right));
235 bcopy(&sc->left.stats,
[all...]
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dresource.c121 mutex_lock(&rdev->stats.lock);
122 rdev->stats.qid.cur += rdev->qpmask + 1;
123 mutex_unlock(&rdev->stats.lock);
152 mutex_lock(&rdev->stats.lock);
153 if (rdev->stats.qid.cur > rdev->stats.qid.max)
154 rdev->stats.qid.max = rdev->stats.qid.cur;
155 mutex_unlock(&rdev->stats.lock);
191 mutex_lock(&rdev->stats
[all...]

Completed in 231 milliseconds

1234567891011>>