Home
last modified time | relevance | path

Searched full:combiner (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_closure.cc27 #include "src/core/lib/iomgr/combiner.h"
70 grpc_combiner* combiner = grpc_combiner_create(); in BM_ClosureInitAgainstCombiner() local
75 &c, DoNothing, nullptr, grpc_combiner_scheduler(combiner))); in BM_ClosureInitAgainstCombiner()
77 GRPC_COMBINER_UNREF(combiner, "finished"); in BM_ClosureInitAgainstCombiner()
177 // for comparison with the combiner stuff below in BM_AcquireMutex()
193 // for comparison with the combiner stuff below in BM_TryAcquireMutex()
212 // for comparison with the combiner stuff below in BM_AcquireSpinlock()
227 // for comparison with the combiner stuff below in BM_TryAcquireSpinlock()
245 grpc_combiner* combiner = grpc_combiner_create(); in BM_ClosureSchedOnCombiner() local
247 GRPC_CLOSURE_INIT(&c, DoNothing, nullptr, grpc_combiner_scheduler(combiner)); in BM_ClosureSchedOnCombiner()
[all …]
/external/grpc-grpc/doc/
Dcombiner-explainer.md1 # Combiner Explanation
15 class combiner {
24 combiner.run(do_stuff)
27 If you have two threads calling combiner, there will be some kind of
28 queuing in place. It's called `combiner` because you can pass in more
38 * This means that `do_stuff` doesn't necessarily run to completion when `combiner.run` is invoked
41 class combiner {
56 The basic idea is that the first one to push onto the combiner
58 until the combiner is drained.
60 Our combiner does some additional work, with the motivation of write-batching.
[all …]
/external/v8/tools/testrunner/testproc/
Dcombiner.py39 # Combiner is not able to pass results (even as None) to the previous
53 combiner = self._get_combiner(test.suite)
54 if not combiner:
55 print ('>>> Warning: There is no combiner for %s testsuite' %
58 return combiner.get_group_key(test)
82 suite, combiner = self._select_suite()
91 return combiner.combine('%s-%d' % (suite, self._current_num), sample)
94 """Returns pair (suite name, combiner)."""
101 combiner = self._combiners.get(suite.name)
102 if not combiner:
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dcall_combiner.h33 // single call. This is similar to a combiner but is more lightweight.
67 /// Yields the call combiner to the next closure in the queue, if any.
79 /// Yields the call combiner to the next closure in the queue, if any.
118 // Helper for running a list of closures in a call combiner.
120 // Each callback running in the call combiner will eventually be
122 // call combiner. So when we are running in the call combiner and have
124 // the call combiner for all but one of those callbacks.
130 // the call combiner being yielded.
135 // Runs all closures in the call combiner and yields the call combiner.
140 // yielding the call combiner. If the list is empty, then the call
[all …]
Dcombiner.h32 // Each action queued on a combiner is executed serially in a borrowed thread.
43 #define GRPC_COMBINER_REF(combiner, reason) \ argument
44 grpc_combiner_ref((combiner), __FILE__, __LINE__, (reason))
45 #define GRPC_COMBINER_UNREF(combiner, reason) \ argument
46 grpc_combiner_unref((combiner), __FILE__, __LINE__, (reason))
49 #define GRPC_COMBINER_REF(combiner, reason) grpc_combiner_ref((combiner)) argument
50 #define GRPC_COMBINER_UNREF(combiner, reason) grpc_combiner_unref((combiner)) argument
Dcombiner.cc21 #include "src/core/lib/iomgr/combiner.h"
34 grpc_core::DebugOnlyTraceFlag grpc_combiner_trace(false, "combiner");
53 // ever queued to this combiner, or NULL. If this is non-null, it's not
71 combiner_run, combiner_exec, "combiner:immediately"};
73 combiner_finally_exec, combiner_finally_exec, "combiner:finally"};
159 GPR_TIMER_SCOPE("combiner.execute", 0); in combiner_exec()
168 GPR_TIMER_MARK("combiner.initiated", 0); in combiner_exec()
171 // first element on this list: add it to the list of combiner locks in combiner_exec()
212 GPR_TIMER_SCOPE("combiner.continue_exec_ctx", 0); in grpc_combiner_continue_exec_ctx()
254 GPR_TIMER_SCOPE("combiner.exec1", 0); in grpc_combiner_continue_exec_ctx()
[all …]
Dresource_quota.cc34 #include "src/core/lib/iomgr/combiner.h"
66 /* Closure to schedule an allocation under the resource quota combiner lock */
68 /* Closure to publish a non empty free pool under the resource quota combiner
105 /* Reclaimers just posted: once we're in the combiner lock, we'll move them
108 /* Trampoline closures to finish reclamation and re-enter the quota combiner
112 /* Closure to execute under the quota combiner to de-register and shutdown the
131 /* Master combiner lock: all activity on a quota executes under this combiner
133 grpc_combiner* combiner; member
463 * the combiner
586 * combiner
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dfeature_column.py45 combiner='mean', argument
59 combiner: A string specifying how to reduce if there are multiple entries
105 combiner=combiner,
121 combiner='mean', argument
135 combiner=combiner,
154 combiner=combiner,
173 """Returns the embedding combiner."""
211 combiner='mean', argument
224 combiner=combiner,
234 combiner='mean', argument
[all …]
Dfeature_column_test.py54 self.assertEqual('mean', embedding_column.combiner)
69 combiner='my_combiner',
73 self.assertEqual('my_combiner', embedding_column.combiner)
108 # Expected lookup result, using combiner='mean'.
159 self.assertEqual('mean', embedding_column_a.combiner)
160 self.assertEqual('mean', embedding_column_b.combiner)
192 combiner='my_combiner',
199 self.assertEqual('my_combiner', embedding_column_a.combiner)
200 self.assertEqual('my_combiner', embedding_column_b.combiner)
249 # Expected lookup result, using combiner='mean'.
/external/clang/test/CodeGenCXX/
Dstack-reuse.cpp20 struct Combiner { struct
23 Combiner(S_large); argument
24 Combiner f();
135 // CHECK: [[T1:%.*]] = alloca %struct.Combiner in large_combiner_test()
136 // CHECK: [[T2:%.*]] = alloca %struct.Combiner in large_combiner_test()
137 // CHECK: [[T3:%.*]] = call %struct.Combiner* @_ZN8CombinerC1E7S_large(%struct.Combiner* nonnull [[… in large_combiner_test()
138 // CHECK: call void @_ZN8Combiner1fEv(%struct.Combiner* nonnull sret [[T2]], %struct.Combiner* nonn… in large_combiner_test()
139 // CHECK: [[T4:%.*]] = getelementptr inbounds %struct.Combiner, %struct.Combiner* [[T2]], i32 0, i3… in large_combiner_test()
143 return Combiner(s).f().a.a[0]; in large_combiner_test()
/external/grpc-grpc/test/core/client_channel/resolvers/
Dfake_resolver_test.cc31 #include "src/core/lib/iomgr/combiner.h"
37 grpc_combiner* combiner, in build_fake_resolver() argument
47 args.combiner = combiner; in build_fake_resolver()
118 grpc_combiner* combiner = grpc_combiner_create(); in test_fake_resolver() local
124 build_fake_resolver(combiner, response_generator.get()); in test_fake_resolver()
132 on_resolution_cb, &on_res_arg, grpc_combiner_scheduler(combiner)); in test_fake_resolver()
145 grpc_combiner_scheduler(combiner)); in test_fake_resolver()
159 grpc_combiner_scheduler(combiner)); in test_fake_resolver()
175 grpc_combiner_scheduler(combiner)); in test_fake_resolver()
188 grpc_combiner_scheduler(combiner)); in test_fake_resolver()
[all …]
/external/llvm/test/CodeGen/X86/
Ddag-optnone.ll4 ; If fast-isel bails out to normal selection, then the DAG combiner will run,
8 ; DAG combiner does.
11 ; The DAG combiner was disabled for 'optnone' (but not -O0) by r221168, then
14 ; really should have disabled the combiner for both.)
17 ; combiner, then the combiner can be turned off for -O0 (not just 'optnone')
19 ; the DAG combiner does *not* run at -O0 or for 'optnone' functions.)
21 ; In the meantime, this test wants to make sure the combiner stays enabled for
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Ddag-optnone.ll4 ; If fast-isel bails out to normal selection, then the DAG combiner will run,
8 ; DAG combiner does.
11 ; The DAG combiner was disabled for 'optnone' (but not -O0) by r221168, then
14 ; really should have disabled the combiner for both.)
17 ; combiner, then the combiner can be turned off for -O0 (not just 'optnone')
19 ; the DAG combiner does *not* run at -O0 or for 'optnone' functions.)
21 ; In the meantime, this test wants to make sure the combiner stays enabled for
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dfeature_column.py170 "combiner"])):
184 "combiner",
310 "combiner", "dtype"
327 combiner: A string specifying how to reduce if the sparse column is
347 combiner="sum", argument
391 combiner=combiner,
440 combiner=self.combiner)
512 combiner="sum", argument
532 combiner: A string specifying how to reduce if the sparse column is
552 combiner=combiner, dtype=dtype)
[all …]
Dembedding_ops.py51 combiner=None, argument
82 combiner: A string specifying how to combine embedding results for each
99 if combiner is None:
100 logging.warn("The default value of combiner will change from \"mean\" "
102 combiner = "mean"
144 if combiner != "sum":
159 combiner=combiner,
383 combiner=None, argument
397 combiner: A string specifying how to combine embedding results for each
412 ValueError: If combiner is not one of {"mean", "sqrtn", "sum"}.
[all …]
/external/tensorflow/tensorflow/python/ops/
Dembedding_ops.py376 combiner=None, argument
402 combiner: A string specifying the reduction op. Currently "mean", "sqrtn"
438 with `combiner`="mean", then the output will be a 3x20 matrix where
449 ValueError: If `combiner` is not one of {"mean", "sqrtn", "sum"}.
451 if combiner is None:
452 logging.warn("The default value of combiner will change from \"mean\" "
454 combiner = "mean"
455 if combiner not in ("mean", "sqrtn", "sum"):
456 raise ValueError("combiner must be one of 'mean', 'sqrtn' or 'sum'")
514 if combiner == "sum":
[all …]
/external/grpc-grpc/src/core/lib/debug/
Dstats_data.yaml244 # combiner locks
246 doc: Number of combiner lock entries by process
247 (first items queued to a combiner)
249 doc: Number of items scheduled against combiner locks
251 doc: Number of final items scheduled against combiner locks
253 doc: Number of combiner locks offloaded to different threads
254 # call combiner locks
256 doc: Number of call combiner lock entries by process
257 (first items queued to a call combiner)
259 doc: Number of items scheduled against call combiner locks
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DCombiner.cpp14 #include "llvm/CodeGen/GlobalISel/Combiner.h"
24 #define DEBUG_TYPE "gi-combiner"
28 Combiner::Combiner(CombinerInfo &Info, const TargetPassConfig *TPC) in Combiner() function in Combiner
33 bool Combiner::combineMachineInstrs(MachineFunction &MF) { in combineMachineInstrs()
35 // FIXME: Should this be here or in individual combiner passes. in combineMachineInstrs()
43 LLVM_DEBUG(dbgs() << "Generic MI Combiner for: " << MF.getName() << '\n'); in combineMachineInstrs()
/external/clang/include/clang/AST/
DDeclOpenMP.h101 /// Here 'omp_out += omp_in' is a combiner and 'omp_priv = 0' is an initializer.
105 /// \brief Combiner for declare reduction construct.
106 Expr *Combiner; variable
119 : ValueDecl(DK, DC, L, Name, Ty), DeclContext(DK), Combiner(nullptr), in OMPDeclareReductionDecl()
135 /// \brief Get combiner expression of the declare reduction construct.
136 Expr *getCombiner() { return Combiner; } in getCombiner()
137 const Expr *getCombiner() const { return Combiner; } in getCombiner()
138 /// \brief Set combiner expression for the declare reduction construct.
139 void setCombiner(Expr *E) { Combiner = E; } in setCombiner()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy.h30 #include "src/core/lib/iomgr/combiner.h"
41 /// combiner passed to the constructor.
49 /// The combiner under which all LB policy calls will be run.
50 /// Policy does NOT take ownership of the reference to the combiner.
54 grpc_combiner* combiner = nullptr; member
152 /// client_channel's combiner. The implementation is responsible for
159 // Invoke ShutdownAndUnrefLocked() inside of the combiner. in Orphan()
182 grpc_combiner* combiner() const { return combiner_; } in combiner() function
203 /// Combiner under which LB policy actions take place.
Dresolver.h28 #include "src/core/lib/iomgr/combiner.h"
46 /// combiner passed to the constructor.
95 // Invoke ShutdownAndUnrefLocked() inside of the combiner. in Orphan()
107 /// Does NOT take ownership of the reference to \a combiner.
111 explicit Resolver(grpc_combiner* combiner);
119 grpc_combiner* combiner() const { return combiner_; } in combiner() function
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Daarch64-combine-fmul-fsub.mir1 …N: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=cortex-a57 -enable-uns…
2 …UN: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=falkor -enable-unsafe…
3 …UN: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=exynos-m1 -enable-uns…
4 …: llc -run-pass=machine-combiner -o - -mtriple=aarch64-unknown-linux -mcpu=thunderx2t99 -enable-un…
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/
DComposableFunction.java315 * The function h created by {@code h = g.combine(f, combiner)} is such that
316 * {@code h.value(x) == combiner.value(g.value(x), f.value(x))} for all x.
319 * @param combiner bivariate function used for combining
323 final BivariateRealFunction combiner) {
328 return combiner.value(ComposableFunction.this.value(x), f.value(x));
429 * <li>iterate: {@code result = combiner.value(result,
434 * @param combiner combiner to use between entries
439 public MultivariateRealFunction asCollector(final BivariateRealFunction combiner,
447 result = combiner.value(result, ComposableFunction.this.value(entry));
461 * @param combiner combiner to use between entries
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver.cc67 /** combiner to synchronize c-ares and I/O callbacks on */
68 grpc_combiner* combiner; member
95 GRPC_COMBINER_UNREF(ev_driver->combiner, "free ares event driver"); in grpc_ares_ev_driver_unref()
121 grpc_combiner* combiner, in grpc_ares_ev_driver_create_locked() argument
138 (*ev_driver)->combiner = GRPC_COMBINER_REF(combiner, "ares event driver"); in grpc_ares_ev_driver_create_locked()
146 grpc_core::NewGrpcPolledFdFactory((*ev_driver)->combiner); in grpc_ares_ev_driver_create_locked()
254 socks[i], ev_driver->pollset_set, ev_driver->combiner); in grpc_ares_notify_on_event_locked()
261 grpc_combiner_scheduler(ev_driver->combiner)); in grpc_ares_notify_on_event_locked()
263 grpc_combiner_scheduler(ev_driver->combiner)); in grpc_ares_notify_on_event_locked()
/external/u-boot/arch/arm/dts/
Dexynos4210.dtsi58 <2 &combiner 12 6>,
59 <3 &combiner 12 7>,
73 interrupt-parent = <&combiner>;
104 interrupt-parent = <&combiner>;
153 &combiner {
154 samsung,combiner-nr = <16>;

12345678910>>...17