Home
last modified time | relevance | path

Searched refs:affinity (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dthread_test.cpp30 auto affinity = marl::Thread::Affinity( in TEST_F() local
38 EXPECT_EQ(affinity.count(), 4U); in TEST_F()
42 auto affinity = marl::Thread::Affinity( in TEST_F() local
51 affinity in TEST_F()
60 EXPECT_EQ(affinity.count(), 7U); in TEST_F()
61 EXPECT_EQ(affinity[0], core(10)); in TEST_F()
62 EXPECT_EQ(affinity[1], core(15)); in TEST_F()
63 EXPECT_EQ(affinity[2], core(20)); in TEST_F()
64 EXPECT_EQ(affinity[3], core(25)); in TEST_F()
65 EXPECT_EQ(affinity[4], core(30)); in TEST_F()
[all …]
Dthread.cpp81 KAFFINITY affinity; // affinity mask. member
134 Thread::Affinity affinity(allocator); in all() local
143 if ((group.affinity >> coreIdx) & 1) { in all()
145 affinity.cores.emplace_back(std::move(core)); in all()
158 affinity.cores.emplace_back(std::move(core)); in all()
170 affinity.cores.emplace_back(std::move(core)); in all()
179 return affinity; in all()
183 Affinity&& affinity, in anyOf() argument
186 Affinity affinity; in anyOf() member
187 Policy(Affinity&& affinity) : affinity(std::move(affinity)) {} in anyOf()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DWGL_NV_gpu_affinity.txt45 affinity mask. OpenGL rendering commands are directed to the
46 GPU(s) specified by the affinity mask. GPU affinity is immutable.
49 This extension also introduces the concept called affinity-DC. An
50 affinity-DC is a device context with a GPU affinity mask embedded
52 commands to be sent to the GPU(s) in the affinity mask.
55 command wglEnumGpusNV. An affinity-DC is created by calling
57 which make up the affinity mask. An affinity-DC can also
60 affinity-DC by calling wglCreatePbuffer.
62 A context created from an affinity DC will inherit the GPU
63 affinity mask from the DC. Once inherited, it cannot be changed.
[all …]
/third_party/openGLES/extensions/NV/
DWGL_NV_gpu_affinity.txt45 affinity mask. OpenGL rendering commands are directed to the
46 GPU(s) specified by the affinity mask. GPU affinity is immutable.
49 This extension also introduces the concept called affinity-DC. An
50 affinity-DC is a device context with a GPU affinity mask embedded
52 commands to be sent to the GPU(s) in the affinity mask.
55 command wglEnumGpusNV. An affinity-DC is created by calling
57 which make up the affinity mask. An affinity-DC can also
60 affinity-DC by calling wglCreatePbuffer.
62 A context created from an affinity DC will inherit the GPU
63 affinity mask from the DC. Once inherited, it cannot be changed.
[all …]
/third_party/flutter/flutter/packages/flutter/test/painting/
Dtext_painter_rtl_test.dart24 painter.getWordBoundary(const TextPosition(offset: 1, affinity: TextAffinity.downstream)),
28 painter.getWordBoundary(const TextPosition(offset: 5, affinity: TextAffinity.downstream)),
32 painter.getWordBoundary(const TextPosition(offset: 9, affinity: TextAffinity.downstream)),
53 …final TextRange hebrew1 = painter.getWordBoundary(const TextPosition(offset: 4, affinity: TextAffi…
55 …final TextRange english2 = painter.getWordBoundary(const TextPosition(offset: 14, affinity: TextAf…
57 …final TextRange hebrew3 = painter.getWordBoundary(const TextPosition(offset: 24, affinity: TextAff…
71 …painter.getOffsetForCaret(const TextPosition(offset: 0, affinity: TextAffinity.upstream), Rect.zer…
75 …painter.getOffsetForCaret(const TextPosition(offset: 0, affinity: TextAffinity.downstream), Rect.z…
79 …painter.getOffsetForCaret(const TextPosition(offset: 1, affinity: TextAffinity.upstream), Rect.zer…
83 …painter.getOffsetForCaret(const TextPosition(offset: 1, affinity: TextAffinity.downstream), Rect.z…
[all …]
Dtext_painter_test.dart307 // getOffsetForCaret in a plain one-line string is the same for either affinity.
318 ui.TextPosition(offset: offset, affinity: ui.TextAffinity.upstream),
331 ui.TextPosition(offset: offset, affinity: ui.TextAffinity.upstream),
344 ui.TextPosition(offset: offset, affinity: ui.TextAffinity.upstream),
357 ui.TextPosition(offset: offset, affinity: ui.TextAffinity.upstream),
364 // indicated by offset regardless of affinity.
376 ui.TextPosition(offset: offset, affinity: ui.TextAffinity.upstream),
389 ui.TextPosition(offset: offset, affinity: ui.TextAffinity.upstream),
402 ui.TextPosition(offset: offset, affinity: ui.TextAffinity.upstream),
409 // same for either affinity.
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Dtext_editing.dart105 this.affinity = TextAffinity.downstream,
121 this.affinity = TextAffinity.downstream,
135 affinity = position.affinity,
156 final TextAffinity affinity;
169 TextPosition get base => TextPosition(offset: baseOffset, affinity: affinity);
178 TextPosition get extent => TextPosition(offset: extentOffset, affinity: affinity);
182 …return '$runtimeType(baseOffset: $baseOffset, extentOffset: $extentOffset, affinity: $affinity, is…
194 && typedOther.affinity == affinity
202 affinity.hashCode,
211 TextAffinity affinity,
[all …]
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_ra.c34 uint64_t *affinity; member
70 l->affinity = calloc(sizeof(l->affinity[0]), node_count); in lcra_alloc_equations()
84 free(l->affinity); in lcra_free()
165 if (l->affinity[step] == 0) continue; in lcra_solve()
169 u_foreach_bit64(r, l->affinity[step]) { in lcra_solve()
270 … uint64_t affinity = bi_make_affinity(preload_live, count, split_file) >> offset; in bi_mark_interference() local
273 affinity &= EVEN_BITS_MASK; in bi_mark_interference()
275 l->affinity[node] &= affinity; in bi_mark_interference()
313 l->affinity[node] &= EVEN_BITS_MASK; in bi_mark_interference()
324 l->affinity[i] &= ~clobber; in bi_mark_interference()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/posix/
DPosix_system_utils.cpp74 cpu_set_t affinity; in StabilizeCPUForBenchmarking() local
75 CPU_SET(0, &affinity); in StabilizeCPUForBenchmarking()
77 if (sched_setaffinity(getpid(), sizeof(affinity), &affinity)) in StabilizeCPUForBenchmarking()
/third_party/ffmpeg/libavfilter/
Dvf_pullup.c377 f->affinity = 1; in compute_affinity()
378 f->next->affinity = 0; in compute_affinity()
379 f->next->next->affinity = -1; in compute_affinity()
406 f->affinity = -1; in compute_affinity()
408 f->affinity = 1; in compute_affinity()
433 if (f0->affinity == -1) in decide_frame_length()
443 return 1 + (s->strict_breaks < 1 && f0->affinity == 1 && f1->affinity == -1); in decide_frame_length()
448 && (f0->affinity != 1 || f1->affinity != -1) ) in decide_frame_length()
450 return 1 + (f1->affinity != 1); in decide_frame_length()
452 return 2 + (f2->affinity != 1); in decide_frame_length()
[all …]
/third_party/nghttp2/src/
Dshrpx_worker.cc129 auto &affinity = shared_addr->affinity; in create_downstream_key() local
130 std::get<2>(dkey) = affinity.type; in create_downstream_key()
131 std::get<3>(dkey) = affinity.cookie.name; in create_downstream_key()
132 std::get<4>(dkey) = affinity.cookie.path; in create_downstream_key()
133 std::get<5>(dkey) = affinity.cookie.secure; in create_downstream_key()
134 std::get<6>(dkey) = affinity.cookie.stickiness; in create_downstream_key()
281 shared_addr->affinity.type = src.affinity.type; in replace_downstream_config()
282 if (src.affinity.type == SessionAffinity::COOKIE) { in replace_downstream_config()
283 shared_addr->affinity.cookie.name = in replace_downstream_config()
284 make_string_ref(shared_addr->balloc, src.affinity.cookie.name); in replace_downstream_config()
[all …]
Dshrpx_config.cc952 AffinityConfig affinity; member
1047 out.affinity.type = SessionAffinity::NONE; in parse_downstream_params()
1049 out.affinity.type = SessionAffinity::IP; in parse_downstream_params()
1051 out.affinity.type = SessionAffinity::COOKIE; in parse_downstream_params()
1064 out.affinity.cookie.name = val; in parse_downstream_params()
1066 out.affinity.cookie.path = in parse_downstream_params()
1071 out.affinity.cookie.secure = SessionAffinityCookieSecure::AUTO; in parse_downstream_params()
1073 out.affinity.cookie.secure = SessionAffinityCookieSecure::YES; in parse_downstream_params()
1075 out.affinity.cookie.secure = SessionAffinityCookieSecure::NO; in parse_downstream_params()
1085 out.affinity.cookie.stickiness = SessionAffinityCookieStickiness::LOOSE; in parse_downstream_params()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dthread.h75 Affinity&& affinity,
83 Affinity&& affinity,
129 MARL_EXPORT Thread(Affinity&& affinity, Func&& func);
/third_party/ltp/testcases/kernel/numa/
DREADME7 to use the numa topology such that we can run an application on a specified node ( node affinity ) …
22 Verifies the node affinity and memory affinity by running the support_numa process which will alloc…
33 Verifies the physical cpu affinity which runs the process support_numa on the specified physical cp…
/third_party/skia/modules/skparagraph/include/
DDartTypes.h67 Affinity affinity; member
69 PositionWithAffinity() : position(0), affinity(kDownstream) {} in PositionWithAffinity()
70 PositionWithAffinity(int32_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity()
/third_party/skia/third_party/externals/angle2/util/posix/
Dtest_utils_posix.cpp381 cpu_set_t affinity; in StabilizeCPUForBenchmarking() local
382 CPU_SET(0, &affinity); in StabilizeCPUForBenchmarking()
384 if (sched_setaffinity(getpid(), sizeof(affinity), &affinity)) in StabilizeCPUForBenchmarking()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DCPUID.hpp62 static int affinity; member in sw::CPUID
133 return affinity; in processAffinity()
/third_party/ltp/testcases/kernel/irq/
Dirqbalance01.c46 enum affinity { enum
52 static enum affinity *irq_affinity;
242 enum affinity aff; in print_irq_info()
/third_party/flutter/skia/modules/skparagraph/include/
DDartTypes.h63 Affinity affinity; member
65 PositionWithAffinity(int32_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity()
/third_party/flutter/txt/src/txt/
Dparagraph.h74 const Affinity affinity; member
76 PositionWithAffinity(size_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity()
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph.h72 const Affinity affinity; member
74 PositionWithAffinity(size_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity()
/third_party/nghttp2/doc/sources/
Dnghttpx-howto.rst410 Session affinity
413 Two kinds of session affinity are available: client IP, and HTTP
416 To enable client IP based affinity, specify ``affinity=ip`` parameter
420 To enable HTTP Cookie based affinity, specify ``affinity=cookie``
421 parameter, and specify a name of cookie in ``affinity-cookie-name``
423 ``affinity-cookie-path`` parameter:
427 backend=127.0.0.1,3000;;affinity=cookie;affinity-cookie-name=nghttpxlb;affinity-cookie-path=/
430 TLS. ``affinity-cookie-stickiness`` specifies the stickiness of this
431 affinity. If ``loose`` is given, which is the default, removing or
432 adding a backend server might break affinity. While ``strict`` is
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp58 uint32_t affinity = 0; member
1613 if (ctx.assignments[def.tempId()].affinity) { in get_reg()
1614 assignment& affinity = ctx.assignments[ctx.assignments[def.tempId()].affinity]; in get_reg() local
1615 if (affinity.assigned) { in get_reg()
1616 PhysReg reg = affinity.reg; in get_reg()
1626 if (ctx.assignments[temp.id()].affinity) { in get_reg()
1627 assignment& affinity = ctx.assignments[ctx.assignments[temp.id()].affinity]; in get_reg() local
1628 if (affinity.assigned) { in get_reg()
1629 if (get_reg_specified(ctx, reg_file, temp.regClass(), instr, affinity.reg)) in get_reg()
1630 return affinity.reg; in get_reg()
[all …]
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/doc/
Dhotplug01.txt7 affinity to just that CPU, then offline that CPU, and verify that the
15 to be used for the given process, and one for the smp affinity.
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/x86_64/
Dl4re.rs42 pub affinity: l4_sched_cpu_set_t, field

1234