Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
.enableImplicitMTWrapper.py
Go to the documentation of this file.
1# this is meant to be used only to run tutorials as tests
2
3import ROOT
4import sys
5
6
7nCores = int(sys.argv[1])
8tutorialName = sys.argv[2]
9
10if "imt" in ROOT.gROOT.GetConfigFeatures():
12
13tutorialFile = open(tutorialName)
14exec(tutorialFile.read())
void EnableImplicitMT(UInt_t numthreads=0)
Enable ROOT's implicit multi-threading for all objects and methods that provide an internal paralleli...
Definition TROOT.cxx:539