OSDN Git Service

libfec: fix thread count calculation
authorSami Tolvanen <samitolvanen@google.com>
Mon, 8 Feb 2016 18:54:27 +0000 (10:54 -0800)
committerSami Tolvanen <samitolvanen@google.com>
Mon, 8 Feb 2016 18:54:27 +0000 (10:54 -0800)
commit9642b321825431e8eada62f808fbc6bdc5a769d3
tree2e898abca1044dee0535f8970217af0afcfdffce
parent9d630188159868589992116dd5d67cecf17bf257
libfec: fix thread count calculation

On systems with a large number of cores, smallish reads may not be
able to utilize all the cores. Correctly compute the number of threads
we should use.

Change-Id: I7a05c144c2b83a2f6083c33a686ced32cce576c4
libfec/fec_process.cpp