File: options.cpp

package info (click to toggle)
aoflagger 3.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,960 kB
  • sloc: cpp: 83,076; python: 10,187; sh: 260; makefile: 178
file content (10 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#include "options.h"

#include <aocommon/system.h>

size_t Options::CalculateThreadCount() const {
  if (threadCount)
    return threadCount;
  else
    return aocommon::system::ProcessorCount();
}