|
SimGrid 3.7.1
Scalable simulation of distributed systems
|
Parallel map structure. More...
Data Fields | |
| e_xbt_parmap_flag_t | status |
| unsigned | work |
| unsigned | thread_counter |
| unsigned int | num_workers |
| void_f_pvoid_t | fun |
| xbt_dynar_t | data |
| unsigned int | index |
| e_xbt_parmap_mode_t | mode |
| void(* | master_wait_f )(xbt_parmap_t) |
| void(* | worker_signal_f )(xbt_parmap_t) |
| void(* | master_signal_f )(xbt_parmap_t) |
| void(* | worker_wait_f )(xbt_parmap_t, unsigned) |
Parallel map structure.
| e_xbt_parmap_flag_t s_xbt_parmap::status |
is the parmap active or being destroyed?
| unsigned s_xbt_parmap::work |
index of the current round
| unsigned s_xbt_parmap::thread_counter |
number of workers that have done the work
| unsigned int s_xbt_parmap::num_workers |
total number of worker threads including the controller
| void_f_pvoid_t s_xbt_parmap::fun |
function to run in parallel on each element of data
parameters to pass to fun in parallel
| unsigned int s_xbt_parmap::index |
index of the next element of data to pick
synchronization mode
| void(* s_xbt_parmap::master_wait_f)(xbt_parmap_t) |
wait for the workers to have done the work
signal the master that a worker has done the work
wakes the workers threads to process tasks
| void(* s_xbt_parmap::worker_wait_f)(xbt_parmap_t, unsigned) |
waits for more work
| Back to the main Simgrid Documentation page |
The version of SimGrid documented here is v3.7.1. Documentation of other versions can be found in their respective archive files (directory doc/html). |
Generated by
|