-
- Downloads
Merge branch 'threadpool_task_plots' into 'master'
Threadpool task plots 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. See merge request !375
Showing
- configure.ac 18 additions, 4 deletionsconfigure.ac
- examples/main.c 35 additions, 2 deletionsexamples/main.c
- examples/plot_threadpool.py 271 additions, 0 deletionsexamples/plot_threadpool.py
- examples/process_plot_threadpool 96 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 195 additions, 59 deletionssrc/threadpool.c
- src/threadpool.h 46 additions, 3 deletionssrc/threadpool.h
- tests/testThreadpool.c 6 additions, 0 deletionstests/testThreadpool.c
Loading