Tomographer  v1.0a
Tomographer C++ Framework Documentation
Tomographer::MultiProc::OMP::FullStatusReport< TaskStatusReportType > Struct Template Reference

A complete status report of currently running threads. More...

#include <tomographer/multiprocomp.h>

+ Collaboration diagram for Tomographer::MultiProc::OMP::FullStatusReport< TaskStatusReportType >:

Public Attributes

int num_completed
 Number of completed tasks.
 
int num_total_runs
 Total number of tasks to perform.
 
int num_active_working_threads
 Number of currently active threads (which are actively solving a task)
 
int num_threads
 Number of spawned threads (some may be idle)
 
std::vector< bool > tasks_running
 List of length num_threads, specifying for each spawned thread whether it is active or not. More...
 
std::vector< TaskStatusReportType > tasks_reports
 List of length num_threads with the raw report submitted from each individual thread. More...
 

Detailed Description

template<typename TaskStatusReportType>
struct Tomographer::MultiProc::OMP::FullStatusReport< TaskStatusReportType >

A complete status report of currently running threads.

Definition at line 241 of file multiprocomp.h.

Member Data Documentation

template<typename TaskStatusReportType>
std::vector<TaskStatusReportType> Tomographer::MultiProc::OMP::FullStatusReport< TaskStatusReportType >::tasks_reports

List of length num_threads with the raw report submitted from each individual thread.

If thread number k is active and currently running a task, then tasks_reports[k] is the raw status report that was submitted by that thread. If the thread is not running a task, tasks_reports[k] is an invalid, or default-constructed value.

Definition at line 270 of file multiprocomp.h.

template<typename TaskStatusReportType>
std::vector<bool> Tomographer::MultiProc::OMP::FullStatusReport< TaskStatusReportType >::tasks_running

List of length num_threads, specifying for each spawned thread whether it is active or not.

If tasks_running[k] is true, then thread number k is currently running a task. Otherwise, it is waiting (because of chunking of tasks, for example, or because there are are no new tasks to start)

Definition at line 261 of file multiprocomp.h.


The documentation for this struct was generated from the following file: