| 28 | #endif // TIMETAG |
| 29 | |
| 30 | SerialTreeLearner::SerialTreeLearner(const Config* config) |
| 31 | :config_(config) { |
| 32 | random_ = Random(config_->feature_fraction_seed); |
| 33 | #pragma omp parallel |
| 34 | #pragma omp master |
| 35 | { |
| 36 | num_threads_ = omp_get_num_threads(); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | SerialTreeLearner::~SerialTreeLearner() { |
| 41 | #ifdef TIMETAG |
nothing calls this directly
no test coverage detected