-
- Downloads
Merge branch 'threadpool_task_plots2' into 'master'
Threadpool task plots2 Should fix the problems in the rolled-back merge request of the previous branch, `threadpool_task_plots`. Which adds the following: - --enable-threadpool-debugging to the ./configure flags, - -Y to main.c to enable dumping threadpool timers much like the task timers. This generates threadpool_info-step%d.dat files every -Y steps which contain the mapper function name, the id of the thread that executed it, the number of chunks processed, and the tic and toc timers for the mapper function. In this merge we also have new scripts to plot and analyse these files and have a new technique using barriers to start and control the threads. This gives significant speedups in start up time and time to collective wait (i.e. coming together at task completion). See merge request !385
No related branches found
No related tags found
Showing
- README 1 addition, 0 deletionsREADME
- configure.ac 18 additions, 4 deletionsconfigure.ac
- examples/analyse_threadpool_tasks.py 273 additions, 0 deletionsexamples/analyse_threadpool_tasks.py
- examples/main.c 37 additions, 2 deletionsexamples/main.c
- examples/plot_threadpool.py 271 additions, 0 deletionsexamples/plot_threadpool.py
- examples/process_plot_threadpool 108 additions, 0 deletionsexamples/process_plot_threadpool
- src/engine.c 4 additions, 22 deletionssrc/engine.c
- src/engine.h 1 addition, 1 deletionsrc/engine.h
- src/gravity.c 1 addition, 1 deletionsrc/gravity.c
- src/queue.h 1 addition, 1 deletionsrc/queue.h
- src/scheduler.c 3 additions, 3 deletionssrc/scheduler.c
- src/space.c 8 additions, 8 deletionssrc/space.c
- src/statistics.c 2 additions, 2 deletionssrc/statistics.c
- src/swift.h 1 addition, 0 deletionssrc/swift.h
- src/threadpool.c 216 additions, 59 deletionssrc/threadpool.c
- src/threadpool.h 46 additions, 3 deletionssrc/threadpool.h
- tests/testThreadpool.c 7 additions, 0 deletionstests/testThreadpool.c
Loading
Please register or sign in to comment