platform.cpp File Reference

#include "platform.h"
#include <unistd.h>
#include <sys/sysctl.h>

Include dependency graph for platform.cpp:

Go to the source code of this file.


namespace  hugin_utils


int hugin_utils::getCPUCount ()
 return the CPU count. On error returns a cpu count of 0 or -1

Detailed Description

Pablo d'Angelo <>
utils.cpp 2570 2007-12-18 16:53:54Z dangelo

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see <>.

Definition in file platform.cpp.

Generated on 1 Dec 2015 for Hugintrunk by  doxygen 1.4.7