Class ProcessorMultithread¶
Defined in File SequenceProcessor.h
Inheritance Relationships¶
Derived Types¶
public SmartPeak::SampleGroupProcessorMultithread(Class SampleGroupProcessorMultithread)public SmartPeak::SequenceProcessorMultithread(Class SequenceProcessorMultithread)public SmartPeak::SequenceSegmentProcessorMultithread(Class SequenceSegmentProcessorMultithread)
Class Documentation¶
-
class ProcessorMultithread¶
Multithreaded execution processor
Subclassed by SmartPeak::SampleGroupProcessorMultithread, SmartPeak::SequenceProcessorMultithread, SmartPeak::SequenceSegmentProcessorMultithread
Public Functions
-
size_t getNumWorkers(unsigned int n_threads) const¶
Determine the number of workers available based on the maximum available threads and the desired thread count. 1 thread will always be preserved for the GUI unless the maximum number of available threads couldn’t be determined
- Parameters
n_threads – [in] desired number of threads to use
-
virtual void run_processing() = 0¶
-
size_t getNumWorkers(unsigned int n_threads) const¶