Searched defs:counters (Results 1 - 25 of 100) sorted by relevance

1234

/external/tensorflow/tensorflow/compiler/xla/service/
H A Dhlo_profile_printer.cc22 const int64* counters, double clock_rate_ghz) {
34 return counters[instruction_info.profile_index()] != 0;
44 computation_info.name(), counters[computation_info.profile_index()],
52 counters[instruction_info.profile_index()],
21 PrintHloProfile(const HloProfilePrinterData& hlo_profile_printer_data, const int64* counters, double clock_rate_ghz) argument
/external/webrtc/talk/app/webrtc/
H A Dfakemetricsobserver.cc51 auto& counters = counters_[type]; local
52 ++counters[counter];
/external/google-benchmark/src/
H A Dbenchmark_api_internal.h27 UserCounters counters; member in struct:benchmark::internal::Benchmark::Instance
/external/iptables/iptables/
H A Dxtables-save.c31 {.name = "counters", .has_arg = false, .val = 'c'},
41 do_output(struct nft_handle *h, const char *tablename, bool counters) argument
46 return nft_for_each_table(h, do_output, counters);
64 nft_rule_save(h, tablename, counters);
H A Dip6tables-restore.c29 static int counters = 0, verbose = 0, noflush = 0, wait = 0; variable
37 {.name = "counters", .has_arg = 0, .val = 'c'},
54 " [ --counters ]\n"
222 counters = 1;
385 if (counters) {
391 "invalid policy counters "
423 /* we have counters in our input */
453 if (counters && pcnt && bcnt) {
454 add_argv("--set-counters");
H A Diptables-restore.c26 static int counters = 0, verbose = 0, noflush = 0, wait = 0; variable
34 {.name = "counters", .has_arg = 0, .val = 'c'},
53 " [ --counters ]\n"
221 counters = 1;
384 if (counters) {
390 "invalid policy counters "
422 /* we have counters in our input */
452 if (counters && pcnt && bcnt) {
453 add_argv("--set-counters");
H A Dnft-ipv4.c93 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0)
247 const struct xt_counters *counters,
250 print_header(format, chain, pol, counters, basechain, refs);
392 cs->counters.pcnt = args->pcnt_cnt;
393 cs->counters.bcnt = args->bcnt_cnt;
438 save_counters(cs->counters.pcnt, cs->counters.bcnt);
490 /* Always add counters per rule, as in iptables */
245 nft_ipv4_print_header(unsigned int format, const char *chain, const char *pol, const struct xt_counters *counters, bool basechain, uint32_t refs) argument
H A Dnft-ipv6.c81 if (add_counters(r, cs->counters.pcnt, cs->counters.bcnt) < 0)
187 const struct xt_counters *counters,
190 print_header(format, chain, pol, counters, basechain, refs);
338 cs->fw6.counters.pcnt = args->pcnt_cnt;
339 cs->fw6.counters.bcnt = args->bcnt_cnt;
386 save_counters(cs->counters.pcnt, cs->counters.bcnt);
439 /* Always add counters per rule, as in iptables */
185 nft_ipv6_print_header(unsigned int format, const char *chain, const char *pol, const struct xt_counters *counters, bool basechain, uint32_t refs) argument
H A Dxshared.h62 struct xt_counters counters; member in struct:iptables_command_state
H A Dxtables-restore.c27 static int counters = 0, verbose = 0, noflush = 0; variable
31 {.name = "counters", .has_arg = false, .val = 'c'},
50 " [ --counters ]\n"
315 if (counters) {
321 "invalid policy counters "
362 /* we have counters in our input */
392 if (counters && pcnt && bcnt) {
393 add_argv("--set-counters");
478 counters = 1;
H A Dxtables-translate.c353 const struct xt_counters *counters)
351 xlate_chain_set(struct nft_handle *h, const char *table, const char *chain, const char *policy, const struct xt_counters *counters) argument
/external/libcxx/utils/google-benchmark/src/
H A Dbenchmark_api_internal.h27 UserCounters counters; member in struct:benchmark::internal::Benchmark::Instance
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_perfmon.h62 struct st_perf_monitor_counter *counters; member in struct:st_perf_monitor_group
H A Dst_cb_perfmon.c25 * Performance monitoring counters interface to gallium.
53 /* Determine the number of active counters. */
59 /* Maximum number of counters reached. Cannot start the session. */
61 debug_printf("Maximum number of counters reached. "
93 const struct st_perf_monitor_counter *stc = &stg->counters[cid];
278 * active counter. The API allows counters to appear in any order.
370 struct gl_perf_monitor_counter *counters = NULL; local
380 counters = CALLOC(group_info.num_queries, sizeof(*counters));
381 if (!counters)
[all...]
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_test.cc99 volatile int counters[kThreadCount]; member in struct:__sanitizer::AdvancedCallbackArgument
132 __sync_fetch_and_add(&callback_argument->counters[this_thread_index], 1);
150 counters_at_init[j] = __sync_fetch_and_add(&callback_argument->counters[j],
155 if (__sync_fetch_and_add(&callback_argument->counters[j], 0) !=
/external/mesa3d/src/gallium/drivers/radeon/
H A Dr600_gpu_load.c33 * Then, the user can sample the counters twice and calculate the average
49 union r600_grbm_counters *counters)
56 p_atomic_inc(&counters->named.spi_busy);
58 p_atomic_inc(&counters->named.spi_idle);
61 p_atomic_inc(&counters->named.gui_busy);
63 p_atomic_inc(&counters->named.gui_idle);
90 /* Update the counters. */
135 * If no counters were incremented, return the current counter status.
137 * the counters are updated.
142 union r600_grbm_counters counters; local
48 r600_update_grbm_counters(struct r600_common_screen *rscreen, union r600_grbm_counters *counters) argument
[all...]
/external/valgrind/cachegrind/
H A Dcg_branchpred.c66 counters. Given the address of the branch instruction, the array
89 static UChar counters[N_COUNTERS]; /* Counter array; presumably auto-zeroed */ variable
110 predicted_taken = counters[ indx ] >= 2;
120 if (counters[indx] < 3)
121 counters[indx]++;
123 if (counters[indx] > 0)
124 counters[indx]--;
127 tl_assert(counters[indx] <= 3);
/external/autotest/client/cros/
H A Dmemory_bandwidth_logger.py48 counters = [ variable
134 Since the counters are monotonically increasing, we
146 too high, your results might be nonsense because the counters
150 raw: True if you want to dump raw counters. These will simply
153 seconds_period: Duration to wait before dumping counters again.
172 # set up the output formatting. raw counters don't have any
195 * rate_factor for c in counters }
197 output = list((c.name, output_dict[c.name]) for c in counters)
199 total_rate = sum(mb_diff[c.name] for c in counters if c.total)
231 for c in counters }
[all...]
/external/swiftshader/third_party/LLVM/runtime/libprofile/
H A DGCDAProfiling.c130 /* Given an array of pointers to counters (counters), increment the n-th one,
134 uint64_t **counters) {
141 counter = counters[pred];
149 printf("llvmgcda: increment_indirect_counter counters=%x, pred=%u\n",
168 void llvm_gcda_emit_arcs(uint32_t num_counters, uint64_t *counters) { argument
174 write_int64(counters[i]);
180 printf("llvmgcda: %llu\n", (unsigned long long)counters[i]);
133 llvm_gcda_increment_indirect_counter(uint32_t *predecessor, uint64_t **counters) argument
/external/v8/src/extensions/
H A Dstatistics-extension.cc7 #include "src/counters.h"
75 Counters* counters = isolate->counters(); local
84 { counters->name(), #name } \
90 { counters->count_of_##name(), "count_of_" #name } \
91 , {counters->size_of_##name(), "size_of_" #name},
96 { counters->count_of_CODE_TYPE_##name(), "count_of_CODE_TYPE_" #name } \
97 , {counters->size_of_CODE_TYPE_##name(), "size_of_CODE_TYPE_" #name},
102 { counters->count_of_FIXED_ARRAY_##name(), "count_of_FIXED_ARRAY_" #name } \
103 , {counters
[all...]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Dreceive_statistics_unittest.cc122 // kSsrc1 should be active again and the data counters should have survived.
141 StreamDataCounters counters; local
142 statistician->GetReceiveStreamDataCounters(&counters);
143 EXPECT_GT(counters.first_packet_time_ms, -1);
144 EXPECT_EQ(1u, counters.transmitted.packets);
147 statistician->GetReceiveStreamDataCounters(&counters);
148 EXPECT_GT(counters.first_packet_time_ms, -1);
149 EXPECT_EQ(2u, counters.transmitted.packets);
247 virtual void DataCountersUpdated(const StreamDataCounters& counters, argument
250 stats_ = counters;
[all...]
/external/freetype/src/pshinter/
H A Dpshrec.h104 /* masks and counters table descriptor */
119 PS_Mask_TableRec counters; member in struct:PS_DimensionRec_
/external/iproute2/include/uapi/linux/netfilter/
H A Dx_tables.h111 __u64 pcnt, bcnt; /* Packet and byte counters */
121 /* The counters (actually `number' of these). */
122 struct xt_counters counters[0]; member in struct:xt_counters_info
/external/iptables/include/linux/netfilter/
H A Dx_tables.h110 __u64 pcnt, bcnt; /* Packet and byte counters */
120 /* The counters (actually `number' of these). */
121 struct xt_counters counters[0]; member in struct:xt_counters_info
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dx_tables.h111 __u64 pcnt, bcnt; /* Packet and byte counters */
121 /* The counters (actually `number' of these). */
122 struct xt_counters counters[0]; member in struct:xt_counters_info

Completed in 1260 milliseconds

1234