Searched refs:hist (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-10-stable/contrib/unbound/util/
H A Dtimehist.h78 * @param hist: to delete
80 void timehist_delete(struct timehist* hist);
84 * @param hist: to clear all data from
86 void timehist_clear(struct timehist* hist);
90 * @param hist: histogram
93 void timehist_insert(struct timehist* hist, struct timeval* tv);
99 * @param hist: histogram. Interpolated information is used from it.
103 double timehist_quartile(struct timehist* hist, double q);
107 * @param hist: histogram
109 void timehist_print(struct timehist* hist);
[all...]
H A Dtimehist.c71 dosetup(struct timehist* hist) argument
76 for(i=0; i<hist->num; i++) {
77 hist->buckets[i].lower = last;
79 hist->buckets[i].upper = last;
80 hist->buckets[i].count = 0;
86 struct timehist* hist = (struct timehist*)calloc(1, local
88 if(!hist)
90 hist->num = NUM_BUCKETS_HIST;
91 hist->buckets = (struct th_buck*)calloc(hist
102 timehist_delete(struct timehist* hist) argument
110 timehist_clear(struct timehist* hist) argument
134 timehist_insert(struct timehist* hist, struct timeval* tv) argument
147 timehist_print(struct timehist* hist) argument
164 timehist_log(struct timehist* hist, const char* name) argument
189 timehist_count(struct timehist* hist) argument
198 timehist_quartile(struct timehist* hist, double q) argument
228 timehist_export(struct timehist* hist, size_t* array, size_t sz) argument
239 timehist_import(struct timehist* hist, size_t* array, size_t sz) argument
[all...]
/freebsd-10-stable/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_nested_structs.c7 History *hist; member in struct:__anon4007
18 .command = { .el = 0, .hist = 0, },
19 .string = { .el = 0, .hist = 0, },
20 .filec = { .el = 0, .hist = 0, },
/freebsd-10-stable/bin/sh/
H A Dmyhistedit.h35 extern History *hist;
H A Dhistedit.c67 History *hist; /* history cookie */ variable
87 if (!hist) {
92 hist = history_init();
95 if (hist != NULL)
122 if (hist)
123 el_set(el, EL_HIST, history, hist);
153 if (hist) {
154 history_end(hist);
155 hist = NULL;
168 if (hist !
[all...]
/freebsd-10-stable/gnu/usr.bin/gdb/doc/
H A DMakefile12 gpl.texi inc-hist.texinfo rluser.texinfo
22 inc-hist.texinfo: hsuser.texi inc-hist.diff
29 CLEANFILES= gdb-cfg.texi GDBvn.texi inc-hist.texinfo inc-hist.texinfo.orig \
/freebsd-10-stable/contrib/libreadline/
H A Dhistory.c229 history_get_time (hist)
230 HIST_ENTRY *hist;
235 if (hist == 0 || hist->timestamp == 0)
237 ts = hist->timestamp;
330 free_history_entry (hist)
331 HIST_ENTRY *hist;
335 if (hist == 0)
337 FREE (hist->line);
338 FREE (hist
[all...]
/freebsd-10-stable/lib/libedit/TEST/
H A Dtc1.c127 History *hist; local
135 hist = history_init(); /* Init the builtin history */
137 history(hist, &ev, H_SETSIZE, 100);
149 el_set(el, EL_HIST, history, hist);
211 if (history(hist, &ev, H_SET, lastevent) == -1)
213 history(hist, &ev, H_ADD , buf);
215 history(hist, &ev, H_ENTER, buf);
220 history(hist, &ev, continuation ? H_APPEND : H_ENTER, buf);
243 for (rv = history(hist, &ev, H_LAST); rv != -1;
244 rv = history(hist,
[all...]
/freebsd-10-stable/usr.bin/netstat/
H A Dipsec.c218 static void ipsec_hist_new(const uint64_t *hist, size_t histmax,
228 ipsec_hist_new(const uint64_t *hist, size_t histmax, argument
237 if (hist[proto] <= 0)
249 (uintmax_t)hist[proto]);
252 (uintmax_t)hist[proto]);
262 #define hist(f, n, t) \ macro
284 hist(ahstat->ahs_hist, ipsec_ahnames, "AH output");
287 #undef hist macro
308 #define hist(f, n, t) \ macro
331 hist(espsta
334 #undef hist macro
355 #define hist macro
378 #undef hist macro
[all...]
/freebsd-10-stable/usr.bin/bc/
H A Dextern.h44 extern History *hist;
H A Dscan.l40 History *hist;
355 history(hist, &he, H_ENTER, bp);
/freebsd-10-stable/sys/net/
H A Dmppcd.c49 uint8_t hist[2*MPPE_HIST_LEN]; member in struct:MPPC_decomp_state
110 uint8_t *hist, *s; local
115 memcpy(state->hist, state->hist + MPPE_HIST_LEN, MPPE_HIST_LEN);
119 hist = state->hist + state->histptr;
128 (state->hist)[(state->histptr)++] = (uint8_t) val;
143 (state->hist)[(state->histptr)++] =
242 s = state->hist + state->histptr;
264 if ((hist[
[all...]
H A Dmppcc.c51 uint8_t hist[2*MPPE_HIST_LEN]; member in struct:MPPC_comp_state
150 uint8_t *hist, *sbuf, *p, *q, *r, *s; local
173 hist = state->hist + MPPE_HIST_LEN;
178 memcpy(state->hist, hist, MPPE_HIST_LEN);
181 sbuf = state->hist + state->histptr;
194 p = hist + state->hash[idx];
195 state->hash[idx] = (uint16_t) (s - hist);
/freebsd-10-stable/contrib/gcc/
H A Dvalue-prof.c709 histogram_value hist;
738 hist = ggc_alloc (sizeof (*hist));
739 hist->hvalue.value = divisor;
740 hist->hvalue.stmt = stmt;
741 hist->type = HIST_TYPE_SINGLE_VALUE;
742 VEC_quick_push (histogram_value, *values, hist);
751 hist = ggc_alloc (sizeof (*hist));
752 hist
708 histogram_value hist; local
788 histogram_value hist; local
[all...]
H A Dprofile.c177 histogram_value hist = VEC_index (histogram_value, values, i);
178 switch (hist->type)
199 if (!coverage_counter_alloc (t, hist->n_counters))
202 switch (hist->type)
205 (profile_hooks->gen_interval_profiler) (hist, t, 0);
209 (profile_hooks->gen_pow2_profiler) (hist, t, 0);
213 (profile_hooks->gen_one_value_profiler) (hist, t, 0);
217 (profile_hooks->gen_const_delta_profiler) (hist, t, 0);
627 histogram_value hist = VEC_index (histogram_value, values, i);
628 n_histogram_counters[(int) hist
176 histogram_value hist = VEC_index (histogram_value, values, i); local
624 histogram_value hist = VEC_index (histogram_value, values, i); local
649 histogram_value hist = VEC_index (histogram_value, values, i); local
[all...]
/freebsd-10-stable/sys/contrib/ia64/libuwx/src/
H A Duwx_step.c260 uint64_t hist; local
277 status = uwx_restore_reg(env, env->rstate[SBREG_PSP], &val, &hist);
281 env->history.special[UWX_REG_PSP] = hist;
287 status = uwx_restore_reg(env, env->rstate[SBREG_RP], &val, &hist);
291 env->history.special[UWX_REG_RP] = hist;
297 status = uwx_restore_reg(env, env->rstate[SBREG_PFS], &val, &hist);
301 env->history.special[UWX_REG_PFS] = hist;
482 uint64_t hist; local
522 status = uwx_restore_reg(env, env->rstate[SBREG_PRIUNAT], &val, &hist);
526 env->history.special[UWX_REG_PRIUNAT] = hist;
[all...]
/freebsd-10-stable/usr.sbin/gstat/
H A Dgstat.c94 History *hist; local
97 hist = NULL;
185 hist = history_init();
186 if (hist == NULL)
188 history(hist, &hist_ev, H_SETSIZE, 100);
194 el_set(el, EL_HIST, history, hist);
197 history(hist, &hist_ev, H_ENTER, f_s);
408 history(hist, &hist_ev, H_ENTER, line);
/freebsd-10-stable/usr.sbin/lpr/lpc/
H A Dlpc.c151 static History *hist; local
160 hist = NULL;
165 hist = history_init();
166 history(hist, &he, H_SETSIZE, 100);
167 el_set(el, EL_HIST, history, hist);
188 history(hist, &he, H_ENTER, bp);
/freebsd-10-stable/usr.sbin/ngctl/
H A Dmain.c297 History *hist; local
308 hist = history_init();
309 if (hist == NULL)
311 history(hist, &hev, H_SETSIZE, 100);
312 history(hist, &hev, H_SETUNIQUE, 1);
313 el_set(el, EL_HIST, history, (const char *)hist);
324 history(hist, &hev, H_ENTER, buf);
335 history_end(hist);
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Drange_tree.c57 uint64_t hist[RANGE_TREE_HISTOGRAM_SIZE] = { 0 }; local
65 hist[idx]++;
66 ASSERT3U(hist[idx], !=, 0);
70 if (hist[i] != rt->rt_histogram[i]) {
71 zfs_dbgmsg("i=%d, hist=%p, hist=%llu, rt_hist=%llu",
72 i, hist, hist[i], rt->rt_histogram[i]);
74 VERIFY3U(hist[i], ==, rt->rt_histogram[i]);
/freebsd-10-stable/usr.sbin/pppctl/
H A Dpppctl.c57 History *hist; /* libedit stuff */ member in struct:thread_data
296 history(td->hist, H_ENTER, l);
298 history(td->hist, &hev, H_ENTER, l);
581 td.hist = history_init();
589 history(td.hist, H_EVENT, size);
592 history(td.hist, &hev, H_SETSIZE, size);
604 el_set(td.edit, EL_HIST, history, (const char *)td.hist);
638 history_end(td.hist);
/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c244 #define SDPSTATS_HIST_GET(hist, hist_len, sum) ({ \
248 u32 *h = per_cpu(sdpstats, __i).hist; \
255 #define __sdpstats_seq_hist(seq, msg, hist, is_log) ({ \
257 int hist_len = ARRAY_SIZE(__get_cpu_var(sdpstats).hist);\
259 SDPSTATS_HIST_GET(hist, hist_len, tmp_hist); \
/freebsd-10-stable/contrib/subversion/subversion/libsvn_repos/
H A Dlog.c412 svn_fs_history_t *hist;
444 svn_fs_history_t *hist;
448 if (info->hist)
452 SVN_ERR(svn_fs_history_prev2(&info->hist, info->hist, ! strict,
455 hist = info->hist;
465 SVN_ERR(svn_fs_node_history2(&hist, history_root, info->path->data,
468 SVN_ERR(svn_fs_history_prev2(&hist, hist, ! stric
411 svn_fs_history_t *hist; member in struct:path_info
443 svn_fs_history_t *hist; local
[all...]
/freebsd-10-stable/contrib/unbound/daemon/
H A Dstats.h139 size_t hist[NUM_BUCKETS_HIST]; member in struct:server_stats
/freebsd-10-stable/sys/sys/
H A Devent.h186 #define KNOTE(list, hist, flags) knote(list, hist, flags)

Completed in 163 milliseconds

12