diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-22 18:36:15 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-22 18:36:15 (GMT) |
commit | f251814cf0fd10a767972530c119f8f109613c48 (patch) | |
tree | e9bd67bca2531c083ee0754fe6dabe043c8012d1 /plugins/dwarf | |
parent | c1bcf3e7bd0a256005bd15832117b78cee5fdfab (diff) |
Fixed run sizes of parallel jobs.
Diffstat (limited to 'plugins/dwarf')
-rw-r--r-- | plugins/dwarf/info.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/dwarf/info.c b/plugins/dwarf/info.c index 7a2be44..b0d853c 100644 --- a/plugins/dwarf/info.c +++ b/plugins/dwarf/info.c @@ -149,9 +149,7 @@ bool load_dwarf_debug_information(GDwarfFormat *format, wgroup_id_t gid, GtkStat /* Lancement des travaux */ - runs_count = get_max_online_threads(); - - run_size = count / runs_count; + run_size = compute_run_size(count, &runs_count); queue = get_work_queue(); |