First steps for Calc parallelism

Desktop / LibreOffice - Tor Lillqvist [collabora.com] - 21 November 2017 10:39 EST

For now, formula group calculations are done in parallel threads when 1) OpenCL is not used, and 2) the environment variable CPU_THREADED_CALCULATION is set. This commit is a surely broken first step and does not actually work that well at all.

99a36cb35c92 First steps for Calc parallelism
include/sal/log-areas.dox | 2 +
sc/inc/column.hxx | 3 +
sc/inc/document.hxx | 5 +-
sc/inc/formulacell.hxx | 17 +--
sc/inc/table.hxx | 3 +
sc/source/core/data/column2.cxx | 68 +++++++++++
sc/source/core/data/documen8.cxx | 9 ++
sc/source/core/data/document.cxx | 9 ++
sc/source/core/data/formulacell.cxx | 219 ++++++++++++++++++++++++++++++++++--
sc/source/core/data/table1.cxx | 19 ++++
sc/source/core/tool/token.cxx | 3 +
sc/source/ui/docshell/docsh4.cxx | 3 +
12 files changed, 339 insertions(+), 21 deletions(-)

Upstream: cgit.freedesktop.org


  • Share