#include <algorithm>
#include <thread>
Go to the source code of this file.
Definition at line 25 of file thread_count.h.
References g_cpu_threads_override.
Referenced by RangeJoinHashTable::approximateTupleCount(), BoundingBoxIntersectJoinHashTable::approximateTupleCount(), BaselineJoinHashTable::approximateTupleCount(), Fragmenter_Namespace::InsertOrderFragmenter::compactRows(), anonymous_namespace{BoundingBoxIntersectJoinHashTable.cpp}::compute_bucket_sizes(), StringDictionary::copyStrings(), CodeGenerator::createInValuesBitmap(), Executor::executeWorkUnitImpl(), anonymous_namespace{ExecutionKernel.cpp}::get_available_cpu_threads_per_task(), anonymous_namespace{RelAlgTranslator.cpp}::get_in_values_expr(), ArrowResultSetConverter::getArrowBatch(), StringDictionary::getEquals(), RelAlgTranslator::getInIntegerSetExpr(), StringDictionary::getLikeImpl(), StringDictionary::getRegexpLike(), Fragmenter_Namespace::InsertOrderFragmenter::getVacuumOffsets(), DBHandler::init_executor_resource_mgr(), BaselineJoinHashTableBuilder::initHashTableOnCpu(), PerfectJoinHashTableBuilder::initOneToManyHashTableOnCpu(), PerfectJoinHashTableBuilder::initOneToOneHashTableOnCpu(), QueryMemoryInitializer::initRowGroups(), Executor::launchKernelsImpl(), ColumnFetcher::linearizeVarLenArrayColFrags(), ColumnarResults::materializeAllColumnsGroupBy(), ColumnarResults::materializeAllColumnsThroughIteration(), ColumnarResults::materializeAllLazyColumns(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeApproxQuantileColumn(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeCountDistinctColumn(), ResultSetStorage::moveEntriesToBuffer(), StorageIOFacility::normalized_cpu_threads(), threading_serial::parallel_for(), threading_std::parallel_for(), threading_serial::parallel_reduce(), threading_std::parallel_reduce(), ResultSet::parallelTop(), QueryRunner::QueryRunner::QueryRunner(), ResultSetStorage::reduce(), startHeavyDBServer(), synthesize_metadata(), anonymous_namespace{TableArchiver.cpp}::update_or_drop_column_ids_in_table_files(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), and Fragmenter_Namespace::InsertOrderFragmenter::updateColumns().
27 return (ov <= 0) ? std::max(2 * std::thread::hardware_concurrency(), 1U) : ov;
unsigned g_cpu_threads_override
unsigned g_cpu_threads_override |
size_t g_max_import_threads |