All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
showCores.cc
Go to the documentation of this file.
1 #include "osl/misc/ncores.h"
2 
3 #include <iostream>
4 
5 int main(int /*argc*/, char ** /*argv*/)
6 {
7  std::cout << "Cores: " << osl::misc::ncores() << std::endl;
8 
9  return 0;
10 }
11 
12 // ;;; Local Variables:
13 // ;;; mode:c++
14 // ;;; c-basic-offset:2
15 // ;;; End: