Skip to main content

set_max_threads

Function set_max_threads 

Source
pub fn set_max_threads(threads: usize)
Expand description

Limits the threads used by backtests and ensembles, in the whole process. Zero, the default, stands for every core the system reports.

The results do not depend on the number of threads.