File: options.cpp

package info (click to toggle)
aoflagger 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,476 kB
  • sloc: cpp: 51,868; python: 152; sh: 25; makefile: 17
file content (11 lines) | stat: -rw-r--r-- 186 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#include "options.h"

#include "../structures/system.h"

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