aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-07-31 12:01:37 +0200
committerTibor Frank <tifrank@cisco.com>2019-07-31 12:01:37 +0200
commit85d2e9e114210705c5ea79484692a679ebd4dbea (patch)
treed7ee0e87a55fab548b99bc175a100224efa8b684 /resources/tools/presentation
parent163eb105874b45bbee173d99e301956f619e83a4 (diff)
Trending: Multiprocessing
Change-Id: I6dedd6d201f46f0b996e75a3cba12713d9c32251 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/input_data_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index ef661a8395..db83092837 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -1318,6 +1318,9 @@ class InputData(object):
data_queue = manager.Queue()
cpus = multiprocessing.cpu_count()
+ logging.info("Nr of CPUs: {0}".format(cpus))
+ os.system("lscpu")
+
workers = list()
for cpu in range(cpus):
worker = Worker(work_queue,