File: test.cc

package info (click to toggle)
tbb 2020.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 15,844 kB
  • sloc: cpp: 142,989; ansic: 11,007; makefile: 1,367; python: 860; asm: 517; sh: 406; javascript: 215; lisp: 198; objc: 176; pascal: 65
file content (7 lines) | stat: -rw-r--r-- 165 bytes parent folder | download
1
2
3
4
5
6
7
#include <tbb/task_scheduler_init.h>
#include <iostream>
int main()
{
    std::cout << tbb::task_scheduler_init::default_num_threads() << std::endl;
    return 0;
}