Home
last modified time | relevance | path

Searched refs:active (Results 1 – 11 of 11) sorted by relevance

/oneTBB/examples/task_arena/fractal/
H A Dfractal.hpp118 int active; member in fractal_group
147 return active ? f1 : f0; in get_active_fractal()
152 context[active].cancel_group_execution(); in active_fractal_zoom_in()
156 context[active].cancel_group_execution(); in active_fractal_zoom_out()
160 context[active].cancel_group_execution(); in active_fractal_quality_inc()
164 context[active].cancel_group_execution(); in active_fractal_quality_dec()
168 context[active].cancel_group_execution(); in active_fractal_move_up()
172 context[active].cancel_group_execution(); in active_fractal_move_down()
176 context[active].cancel_group_execution(); in active_fractal_move_left()
180 context[active].cancel_group_execution(); in active_fractal_move_right()
H A DREADME.md38 * `left mouse button` - make the fractal active.
39 * `w` - move the active fractal up.
40 * `a` - move the active fractal to the left.
41 * `s` - move the active fractal down.
42 * `d` - move the active fractal to the right.
43 * `q` - zoom in the active fractal.
44 * `e` - zoom out the active fractal.
45 * `r` - increase quality (count of iterations for each pixel) the active fractal.
46 * `f` - decrease quality (count of iterations for each pixel) the active fractal.
H A Dfractal.cpp180 active = new_active; in switch_active()
182 active = 1 - active; // assumes 'active' is only 0 or 1 in switch_active()
227 f0.draw_border(active == 0); in draw_borders()
228 f1.draw_border(active == 1); in draw_borders()
254 active = 0; in fractal_group()
272 if (new_active != -1 && new_active != active) { in mouse_click()
/oneTBB/test/common/
H A Dcontainer_move_support.h38 bool active; member
40 if (active){ in previous_state()
45 if (active) { in ~limit_foo_count_in_scope()
54 bool active; member
56 if (active){ in previous_state()
61 if (active) { in ~limit_allocated_items_in_scope()
69 bool active; member
73 if (active){ in ~track_foo_count()
565 bool active; member
626 bool active; member
[all …]
/oneTBB/src/tbbmalloc/
H A Dbackref.cpp76 std::atomic<BackRefBlock*> active; // if defined, use it for allocations member
117 main->active.store(bl, std::memory_order_relaxed); in initBackRefMain()
201 …if (active.load(std::memory_order_relaxed)->allocatedCount.load(std::memory_order_relaxed) == BR_M… in requestNewSpace()
202 active.store(bl, std::memory_order_release); // active leaf is not needed in listForUse in requestNewSpace()
212 BackRefBlock* active_block = active.load(std::memory_order_acquire); in findFreeBlock()
224 active.store(active_block, std::memory_order_release); in findFreeBlock()
233 return active.load(std::memory_order_acquire); // reread because of requestNewSpace in findFreeBlock()
345 … currBlock!=backRefMain.load(std::memory_order_relaxed)->active.load(std::memory_order_relaxed)) { in removeBackRef()
349 … currBlock!=backRefMain.load(std::memory_order_relaxed)->active.load(std::memory_order_relaxed)) in removeBackRef()
H A Dbackend.h67 std::atomic<intptr_t> active; variable
73 intptr_t prevCnt = active.load(std::memory_order_acquire); in wait()
76 if (active.compare_exchange_strong(prevCnt, prevCnt + 1)) { in wait()
80 SpinWaitWhileEq(active, prevCnt); in wait()
87 void signal() { active.fetch_sub(1); } in signal()
/oneTBB/test/conformance/
H A Dconformance_global_control.cpp254 …std::size_t active = oneapi::tbb::global_control::active_value(oneapi::tbb::global_control::max_al… variable
255 REQUIRE(active == value);
258active = oneapi::tbb::global_control::active_value(oneapi::tbb::global_control::max_allowed_parall…
259 … REQUIRE_MESSAGE(active == value, "Active value should not change, because of value duplication");
/oneTBB/src/tbb/
H A Dscheduler_common.h381 active, // some thread is working with this stack enumerator
387 std::atomic<stack_state> m_stack_state{stack_state::active};
396 __TBB_ASSERT(m_stack_state.load(std::memory_order_relaxed) != stack_state::active, nullptr); in resume()
402 m_stack_state.store(stack_state::active, std::memory_order_relaxed); in finilize_resume()
/oneTBB/doc/main/tbb_userguide/
H A Duse_input_node.rst49 In this example, if the ``input_node`` was toggled to the active state at the beginning,
61 Some graphs can be constructed safely with ``input_node``s active, allowing
H A DInitializing_and_Terminating_the_Library.rst20 If you know how many active ``oneapi::tbb::task_scheduler_handle`` instances exist in the program,
H A Dcommunicate_with_nodes.rst82 yet active in g; the only tasks that have been spawned by then belong to