DiSMEC++
|
Public Member Functions | |
DummyTask () | |
void | run_tasks (long begin, long end, thread_id_t thread_id) override |
long | num_tasks () const override |
![]() | |
virtual | ~TaskGenerator ()=default |
virtual void | prepare (long num_threads, long chunk_size) |
Called to notify the TaskGenerator about the number of threads. More... | |
virtual void | init_thread (thread_id_t thread_id) |
Called once a thread has spun up, but before it runs its first task. More... | |
virtual void | finalize () |
Called after all threads have finished their tasks. More... | |
Public Attributes | |
std::vector< int > | check |
bool | do_work =false |
Additional Inherited Members | |
![]() | |
using | thread_id_t = dismec::parallel::thread_id_t |
Definition at line 171 of file runner.cpp.
|
inline |
Definition at line 172 of file runner.cpp.
|
inlineoverridevirtual |
Implements dismec::parallel::TaskGenerator.
Definition at line 183 of file runner.cpp.
|
inlineoverridevirtual |
Implements dismec::parallel::TaskGenerator.
Definition at line 175 of file runner.cpp.
std::vector<int> anonymous_namespace{runner.cpp}::DummyTask::check |
Definition at line 187 of file runner.cpp.
bool anonymous_namespace{runner.cpp}::DummyTask::do_work =false |
Definition at line 188 of file runner.cpp.