summaryrefslogtreecommitdiffstats
path: root/nl_examples
diff options
context:
space:
mode:
authorGravatarGravatar couriersud <couriersud@gmx.org>2017-01-12 22:23:08 +0100
committerGravatarGravatar couriersud <couriersud@gmx.org>2017-01-12 23:20:23 +0100
commit5cd17c361fe2def9ec99a2c95b54e01646f172c5 (patch) (github)
tree32cf115917a072596c29ec812c78c7ef772de7bc /nl_examples
parentb1c358678964630c1282953c1a80407997eae203 (diff)
downloadmame-5cd17c361fe2def9ec99a2c95b54e01646f172c5.tar.bz2
mame-5cd17c361fe2def9ec99a2c95b54e01646f172c5.zip
Fix seldom used conditional build options.
- Fixed OPENMP compile For congo bongo, using Solver.PARALLEL=1 significantly increases performance from 270% to 380%. However, this has to be taken with a grain of salt. Enabling this on predominantly logic netlists can severly kill performance. - Increased readability of timed queue code.
Diffstat (limited to 'nl_examples')
-rw-r--r--nl_examples/congo_bongo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nl_examples/congo_bongo.c b/nl_examples/congo_bongo.c
index f498293d250..b8ef3c181df 100644
--- a/nl_examples/congo_bongo.c
+++ b/nl_examples/congo_bongo.c
@@ -51,6 +51,7 @@ NETLIST_START(dummy)
#if USE_OPTMIZATIONS
SOLVER(Solver, 24000)
PARAM(Solver.DYNAMIC_TS, 0 )
+ PARAM(Solver.PARALLEL, 1)
#else
SOLVER(Solver, 24000)
PARAM(Solver.DYNAMIC_TS, 1)