none
This commit is contained in:
parent
73e901ad3c
commit
84b4378acb
1 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,14 @@ bool getCpuConf(CpuConf& conf)
|
|||
}
|
||||
|
||||
#elif defined(__FreeBSD__)
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "execmd.h"
|
||||
#include "smallut.h"
|
||||
|
||||
using std::string;
|
||||
using std::vector;
|
||||
|
||||
bool getCpuConf(CpuConf& conf)
|
||||
{
|
||||
vector<string> cmdv = create_vector<string>("sysctl")("hw.ncpu");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue