diff options
author | Tom de Vries <tdevries@suse.de> | 2022-07-18 05:34:01 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-07-18 05:34:01 +0200 |
commit | 53944a3bf51cdff9ad30a0c3740b8124213fdab9 (patch) | |
tree | 3bd589d8168f557163dd7ee4219cc1188f57ee64 /ltoptions.m4 | |
parent | 38733fdc8c35aadb6dbea2bb655b1ced65e77ef0 (diff) | |
download | gdb-53944a3bf51cdff9ad30a0c3740b8124213fdab9.zip gdb-53944a3bf51cdff9ad30a0c3740b8124213fdab9.tar.gz gdb-53944a3bf51cdff9ad30a0c3740b8124213fdab9.tar.bz2 |
[gdbsupport] Add parallel_for_each_debug
Add a parallel_for_each_debug variable, set to false by default.
With an a.out compiled from hello world, we get with
parallel_for_each_debug == true:
...
$ gdb -q -batch a.out -ex start
...
Parallel for: n_elements: 7271
Parallel for: minimum elements per thread: 10
Parallel for: elts_per_thread: 1817
Parallel for: elements on worker thread 0 : 1817
Parallel for: elements on worker thread 1 : 1817
Parallel for: elements on worker thread 2 : 1817
Parallel for: elements on worker thread 3 : 0
Parallel for: elements on main thread : 1820
Temporary breakpoint 1, main () at /home/vries/hello.c:6
6 printf ("hello\n");
...
Tested on x86_64-linux.
Diffstat (limited to 'ltoptions.m4')
0 files changed, 0 insertions, 0 deletions