Home
last modified time | relevance | path

Searched refs:hist (Results 1 – 25 of 138) sorted by relevance

123456

/third_party/boost/boost/histogram/
Dunsafe_access.hpp34 static auto& axes(Histogram& hist) { in axes()
35 return hist.axes_; in axes()
40 static const auto& axes(const Histogram& hist) { in axes()
41 return hist.axes_; in axes()
50 static decltype(auto) axis(Histogram& hist, std::integral_constant<unsigned, I> = {}) { in axis()
51 assert(I < hist.rank());
52 return detail::axis_get<I>(hist.axes_);
61 static decltype(auto) axis(Histogram& hist, unsigned i) { in axis()
62 assert(i < hist.rank()); in axis()
63 return detail::axis_get(hist.axes_, i); in axis()
[all …]
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DHistogramTest.cs37 var hist = new Histogram(0.01, 60e9); in Simple()
38 hist.AddObservation(10000); in Simple()
39 hist.AddObservation(10000); in Simple()
40 hist.AddObservation(11000); in Simple()
41 hist.AddObservation(11000); in Simple()
43 var data = hist.GetSnapshot(); in Simple()
59 var hist = new Histogram(0.01, 60e9); in ExtremeObservations()
60 hist.AddObservation(-0.5); // should be in the first bucket in ExtremeObservations()
61 hist.AddObservation(1e12); // should be in the last bucket in ExtremeObservations()
63 var data = hist.GetSnapshot(); in ExtremeObservations()
[all …]
/third_party/grpc/src/ruby/qps/
Dhistogram.rb77 def merge(hist) argument
79 @min_seen = hist.min_seen
80 @max_seen = hist.max_seen
81 @sum += hist.sum
82 @sum_of_squares += hist.sum_of_squares
83 @count += hist.count
84 received_bucket = hist.bucket.to_a
/third_party/ltp/testcases/realtime/lib/
Dlibstats.c260 int stats_hist(stats_container_t * hist, stats_container_t * data) in stats_hist() argument
269 if (hist->size <= 0 || data->index < 0) { in stats_hist()
284 width = MAX((max - min) / hist->size, 1); in stats_hist()
285 hist->records[0].x = min; in stats_hist()
286 for (i = 1; i < (hist->size); i++) { in stats_hist()
287 hist->records[i].x = min + i * width; in stats_hist()
293 b = MIN((y - min) / width, hist->size - 1); in stats_hist()
294 hist->records[b].y++; in stats_hist()
300 void stats_hist_print(stats_container_t * hist) in stats_hist_print() argument
303 for (i = 0; i < hist->size; i++) { in stats_hist_print()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/tools/stats/
Dstats_analyzer.cpp59 const std::unordered_map<Key, uint32_t>& hist, uint64_t total) { in GetRecall() argument
61 for (const auto& pair : hist) { in GetRecall()
71 const std::unordered_map<Key, uint32_t>& hist) { in GetPrevalence() argument
73 for (const auto& pair : hist) { in GetPrevalence()
77 return GetRecall(hist, total); in GetPrevalence()
109 void WriteHist(std::ostream& out, const std::unordered_map<Key, uint32_t>& hist, in WriteHist() argument
111 std::vector<std::pair<Key, uint32_t>> sorted_hist(hist.begin(), hist.end()); in WriteHist()
215 const std::unordered_map<uint32_t, uint32_t>& hist = kv.second; in WriteOpcodeMarkov() local
218 for (const auto& pair : hist) { in WriteOpcodeMarkov()
223 sorted_hist(hist.begin(), hist.end()); in WriteOpcodeMarkov()
/third_party/boost/libs/gil/doc/tutorial/
Dhistogram.rst22 int rows, int cols, int sRowBytes, Histogram* hist)
29 (*hist)[v]++;
49 void grayimage_histogram(GrayView& img, R& hist)
52 ++hist[*it];
56 void luminosity8bit_hist(View& img, R& hist)
58 grayimage_histogram(color_converted_view<gray8_pixel_t>(img),hist);
69 void grayimage_histogram(GrayView& img, R& hist)
71 for_each_pixel(img, ++var(hist)[_1]);
99 hist
/third_party/boost/libs/gil/doc/html/_sources/tutorial/
Dhistogram.rst.txt22 int rows, int cols, int sRowBytes, Histogram* hist)
29 (*hist)[v]++;
49 void grayimage_histogram(GrayView& img, R& hist)
52 ++hist[*it];
56 void luminosity8bit_hist(View& img, R& hist)
58 grayimage_histogram(color_converted_view<gray8_pixel_t>(img),hist);
69 void grayimage_histogram(GrayView& img, R& hist)
71 for_each_pixel(img, ++var(hist)[_1]);
99 hist
/third_party/boost/libs/gil/example/
Dhistogram.cpp19 void gray_image_hist(GrayView const& img_view, R& hist) in gray_image_hist() argument
22 ++hist[*it]; in gray_image_hist()
31 void get_hist(const V& img_view, R& hist) { in get_hist() argument
32 gray_image_hist(color_converted_view<gray8_pixel_t>(img_view), hist); in get_hist()
/third_party/boost/libs/gil/doc/html/_downloads/
Dhistogram.cpp19 void gray_image_hist(GrayView const& img_view, R& hist) in gray_image_hist() argument
22 ++hist[*it]; in gray_image_hist()
31 void get_hist(const V& img_view, R& hist) { in get_hist() argument
32 gray_image_hist(color_converted_view<gray8_pixel_t>(img_view), hist); in get_hist()
/third_party/boost/libs/histogram/benchmark/
Dhistogram_parallel_filling.cpp38 auto hist = make_histogram_with(DS(), axis::regular<>(nbins, 0, 1)); in NoThreads() local
44 hist(dis(gen)); in NoThreads()
49 static auto hist = make_histogram_with(DSTS(), axis::regular<>()); variable
55 hist = make_histogram_with(DSTS(), axis::regular<>(nbins, 0, 1)); in AtomicStorage()
64 hist(dis(gen)); in AtomicStorage()
/third_party/ffmpeg/libavcodec/
Datrac3plusdsp.c605 void ff_atrac3p_ipqf(FFTContext *dct_ctx, Atrac3pIPQFChannelCtx *hist, in ff_atrac3p_ipqf() argument
624 hist->buf1[hist->pos][i] = idct_out[i + 8]; in ff_atrac3p_ipqf()
625 hist->buf2[hist->pos][i] = idct_out[7 - i]; in ff_atrac3p_ipqf()
628 pos_now = hist->pos; in ff_atrac3p_ipqf()
633 out[s * 16 + i + 0] += hist->buf1[pos_now][i] * ipqf_coeffs1[t][i] + in ff_atrac3p_ipqf()
634 hist->buf2[pos_next][i] * ipqf_coeffs2[t][i]; in ff_atrac3p_ipqf()
635 out[s * 16 + i + 8] += hist->buf1[pos_now][7 - i] * ipqf_coeffs1[t][i + 8] + in ff_atrac3p_ipqf()
636 hist->buf2[pos_next][7 - i] * ipqf_coeffs2[t][i + 8]; in ff_atrac3p_ipqf()
643 hist->pos = mod23_lut[hist->pos]; // hist->pos = (hist->pos - 1) % 23; in ff_atrac3p_ipqf()
Dra288.c150 float *hist, float *out2, const float *window) in do_hybrid_window() argument
161 ractx->fdsp->vector_fmul(work, window, hist, FFALIGN(order + n + non_rec, 16)); in do_hybrid_window()
179 float *hist, float *rec, const float *window, in backward_filter() argument
185 do_hybrid_window(ractx, order, n, non_rec, temp, hist, rec, window); in backward_filter()
190 memmove(hist, hist + n, move_size*sizeof(*hist)); in backward_filter()
Ddcadsp.c100 float *hist, ptrdiff_t len) in lfe_x96_float_c() argument
102 float prev = *hist; in lfe_x96_float_c()
113 *hist = prev; in lfe_x96_float_c()
222 int32_t *hist, ptrdiff_t len) in lfe_x96_fixed_c() argument
224 int32_t prev = *hist; in lfe_x96_fixed_c()
235 *hist = prev; in lfe_x96_fixed_c()
435 const float iir[5][4], float hist[5][2], in lfe_iir_c()
446 tmp = hist[k][0] * iir[k][0] + hist[k][1] * iir[k][1] + res; in lfe_iir_c()
447 res = hist[k][0] * iir[k][2] + hist[k][1] * iir[k][3] + tmp; in lfe_iir_c()
449 hist[k][0] = hist[k][1]; in lfe_iir_c()
[all …]
/third_party/grpc/src/python/grpcio_tests/tests_aio/benchmark/
Dbenchmark_client.py46 hist: histogram.Histogram):
86 self._hist = hist
103 hist: histogram.Histogram):
104 super().__init__(address, config, hist)
133 hist: histogram.Histogram):
134 super().__init__(address, config, hist)
163 hist: histogram.Histogram):
164 super().__init__(address, config, hist)
/third_party/ffmpeg/tools/
Dprobetest.c149 unsigned hist = 0; in main() local
158 unsigned int p2 = hist ? p & 0x3F : (p >> 6); in main()
161 hist = v; in main()
166 unsigned int p2 = (p >> (hist * 3)) & 7; in main()
169 hist = (2 * hist + v) & 3; in main()
/third_party/boost/boost/histogram/algorithm/
Dsum.hpp50 auto sum(const histogram<A, S>& hist, const coverage cov = coverage::all) { in sum() argument
55 for (auto&& x : hist) sum += x; in sum()
58 for (auto&& x : indexed(hist)) sum += *x; in sum()
/third_party/ltp/testcases/realtime/func/sched_latency/
Dsched_latency.c75 stats_container_t hist; variable
215 stats_hist(&hist, &dat); in periodic_thread()
220 "Latency (us)", "Samples", &hist, "steps"); in periodic_thread()
277 if (stats_container_init(&hist, HIST_BUCKETS)) { in main()
284 stats_container_free(&hist); in main()
300 stats_container_free(&hist); in main()
/third_party/grpc/src/python/grpcio_tests/tests/qps/
Dbenchmark_client.py48 def __init__(self, server, config, hist): argument
77 self._hist = hist
103 def __init__(self, server, config, hist): argument
104 super(UnarySyncBenchmarkClient, self).__init__(server, config, hist)
180 def __init__(self, server, config, hist): argument
181 super(StreamingSyncBenchmarkClient, self).__init__(server, config, hist)
209 def __init__(self, server, config, hist): argument
211 self).__init__(server, config, hist)
/third_party/flutter/skia/third_party/externals/spirv-tools/test/stats/
Dstats_analyzer_test.cpp152 auto& hist = stats.opcode_markov_hist[0]; in TEST() local
153 hist[SpvOpFMul][SpvOpFAdd] = 100; in TEST()
154 hist[SpvOpFMul][SpvOpFSub] = 300; in TEST()
155 hist[SpvOpFAdd][SpvOpFMul] = 100; in TEST()
156 hist[SpvOpFAdd][SpvOpFAdd] = 100; in TEST()
/third_party/ffmpeg/libavfilter/
Dvf_thumbnail.c79 static double frame_sum_square_err(const int *hist, const double *median) in frame_sum_square_err() argument
85 err = median[i] - (double)hist[i]; in frame_sum_square_err()
137 int *hist = s->frames[s->n].histogram; in filter_frame() local
146 hist[0*256 + p[i*3 ]]++; in filter_frame()
147 hist[1*256 + p[i*3 + 1]]++; in filter_frame()
148 hist[2*256 + p[i*3 + 2]]++; in filter_frame()
/third_party/ltp/testcases/realtime/func/async_handler/
Dasync_handler.c119 stats_container_t hist; in signal_thread() local
123 stats_container_init(&hist, HIST_BUCKETS); in signal_thread()
162 stats_hist(&hist, &dat); in signal_thread()
168 "Latency (us)", "Samples", &hist, "steps"); in signal_thread()
Dasync_handler_tsc.c134 stats_container_t hist; in signal_thread() local
138 stats_container_init(&hist, HIST_BUCKETS); in signal_thread()
182 stats_hist(&hist, &dat); in signal_thread()
188 "Latency (us)", "Samples", &hist, "steps"); in signal_thread()
/third_party/ltp/testcases/cve/
Dmeltdown.c148 static int hist[BITS_BY_READ]; variable
162 hist[i]++; in check()
173 memset(hist, 0, sizeof(hist)); in readbit()
188 tst_res(TINFO, "addr %lx hist[%x] = %d", addr, i, hist[i]); in readbit()
191 if (hist[1] > CYCLES / 10) in readbit()
/third_party/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c180 stats_container_t hist; in main() local
186 if (stats_container_init(&hist, HIST_BUCKETS)) { in main()
209 stats_hist(&hist, &dat); in main()
214 "Latency (us)", "Samples", &hist, "steps"); in main()
/third_party/boost/libs/gil/doc/design/
Dexamples.rst140 void grayimage_histogram(const GrayView& img, R& hist)
143 ++hist[*it];
152 void grayimage_histogram(const GrayView& v, R& hist)
154 for_each_pixel(v, ++var(hist)[_1]);
164 void luminosity_histogram(const View& v, R& hist)
166 grayimage_histogram(color_converted_view<gray8_pixel_t>(v),hist);
173 unsigned char hist[256];
174 std::fill(hist,hist+256,0);
175 luminosity_histogram(my_view,hist);
182 grayimage_histogram(nth_channel_view(subimage_view(img,0,0,100,100),1),hist);

123456