Home
last modified time | relevance | path

Searched refs:thread_index (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/
H A Dmain.cpp12 hw_break_function (uint32_t thread_index) { in hw_break_function() argument
13 printf ("%s called by Thread #%u...\n", __FUNCTION__, thread_index); in hw_break_function()
18 thread_func (uint32_t thread_index) { in thread_func() argument
19 printf ("%s (thread index = %u) starting...\n", __FUNCTION__, thread_index); in thread_func()
23 hw_break_function(thread_index); // Call hw_break_function in thread_func()
/llvm-project-15.0.7/lldb/test/API/python_api/lldbutil/iter/
H A Dmain.cpp50 uint32_t thread_index = *((uint32_t *)arg); in thread_func() local
51 uint32_t thread_mask = (1u << (thread_index)); in thread_func()
52 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
61 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
65 …printf ("%s (thread = %u) after usleep ...\n", __FUNCTION__, thread_index); // Set break point at … in thread_func()
67 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/llvm-project-15.0.7/lldb/test/Shell/ExecControl/StopHook/Inputs/
H A Dstop-hook-threads.cpp30 thread_func (uint32_t thread_index) in thread_func() argument
33 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
41 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
49 … %u) after usleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
51 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/llvm-project-15.0.7/lldb/test/API/python_api/watchpoint/watchlocation/
H A Dmain.cpp48 thread_func (uint32_t thread_index) in thread_func() argument
50 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
60 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
68 … %u) after usleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
70 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/llvm-project-15.0.7/lldb/test/API/commands/watchpoints/watchpoint_set_command/
H A Dmain.cpp56 thread_func (uint32_t thread_index) in thread_func() argument
58 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
66 printf ("%s (thread = %u) sleeping for 1 second...\n", __FUNCTION__, thread_index); in thread_func()
74 …= %u) after sleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
76 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/llvm-project-15.0.7/lldb/test/API/commands/watchpoints/hello_watchlocation/
H A Dmain.cpp48 thread_func (uint32_t thread_index) in thread_func() argument
50 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
60 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
68 … %u) after usleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
70 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/llvm-project-15.0.7/lldb/source/Plugins/TraceExporter/ctf/
H A DCommandObjectThreadTraceExportCTF.cpp39 int64_t thread_index; in SetOptionValue() local
40 if (option_arg.empty() || option_arg.getAsInteger(0, thread_index) || in SetOptionValue()
41 thread_index < 0) in SetOptionValue()
45 m_thread_index = thread_index; in SetOptionValue()
/llvm-project-15.0.7/third-party/benchmark/test/
H A Dfixture_test.cc12 if (state.thread_index() == 0) { in SetUp()
19 if (state.thread_index() == 0) { in TearDown()
38 if (st.thread_index() == 0) { in BENCHMARK_DEFINE_F()
H A Dbenchmark_setup_teardown_test.cc21 assert(state.thread_index() == 0); in DoSetup1()
26 assert(state.thread_index() == 0); in DoTeardown1()
51 assert(state.thread_index() == 0); in DoSetup2()
56 assert(state.thread_index() == 0); in DoTeardown2()
H A Dbenchmark_test.cc130 if (state.thread_index() == 0) { in BM_SetupTeardown()
143 if (state.thread_index() == 0) { in BM_SetupTeardown()
161 int from = thread_size * state.thread_index(); in BM_ParallelMemset()
164 if (state.thread_index() == 0) { in BM_ParallelMemset()
176 if (state.thread_index() == 0) { in BM_ParallelMemset()
H A Dskip_with_error_test.cc100 if (state.range(0) == 1 && state.thread_index() <= (state.threads() / 2)) { in BM_error_during_running()
146 if (state.thread_index() <= (state.threads() / 2)) in BM_error_after_running()
158 if (state.range(0) == 1 && state.thread_index() <= (state.threads() / 2)) { in BM_error_while_paused()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_test.cpp87 std::atomic_uintptr_t thread_index = {}; member
95 uptr this_thread_index = callback_argument.thread_index++; in AdvancedIncrementerThread()
141 while (argument.thread_index < kStopWorldAfter) std::this_thread::yield(); in TEST()
147 while (argument.thread_index < kThreadCount) std::this_thread::yield(); in TEST()
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/
H A DTestConsecutiveBreakpoints.py84 thread_index = self.process.GetNumThreads() + 1
85 self.assertFalse(self.process.GetThreadAtIndex(thread_index).IsValid())
86 self.breakpoint2.SetThreadIndex(thread_index)
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/FreeBSDKernel/
H A DTestFreeBSDKernelVMCore.py50 for thread_index, thread_data in threads.items():
53 thread = process.GetThreadAtIndex(thread_index)
/llvm-project-15.0.7/third-party/benchmark/bindings/python/google_benchmark/
H A Dbenchmark.cc172 .def_property_readonly("thread_index", &State::thread_index) in PYBIND11_MODULE()
/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/
H A DTestLldbGdbServer.py1188 thread_index = 0
1206 self.assertEqual(read_value, expected_reg_values[thread_index])
1207 thread_index += 1
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DThread.h1049 bool DiscardUserThreadPlansUpToIndex(uint32_t thread_index);
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectBreakpoint.cpp139 uint32_t thread_index = UINT32_MAX; in SetOptionValue() local
141 if (option_arg.getAsInteger(0, thread_index)) in SetOptionValue()
145 m_bp_opts.GetThreadSpec()->SetIndex(thread_index); in SetOptionValue()
/llvm-project-15.0.7/lldb/source/Target/
H A DProcess.cpp5319 uint32_t thread_index; in RunThreadPlan() local
5323 for (thread_index = 0; thread_index < num_threads; ++thread_index) { in RunThreadPlan()
5324 Thread *thread = thread_list.GetThreadAtIndex(thread_index).get(); in RunThreadPlan()
/llvm-project-15.0.7/third-party/benchmark/include/benchmark/
H A Dbenchmark.h748 int thread_index() const { return thread_index_; } in thread_index() function
/llvm-project-15.0.7/third-party/benchmark/docs/
H A Duser_guide.md763 if (state.thread_index() == 0) {
769 if (state.thread_index() == 0) {