ARCS6 AR6-REV.24062600
読み取り中…
検索中…
一致する文字列を見つけられません
CPUSettings.hh
[詳解]
1
8//
9// Copyright (C) 2011-2019 Yuki YOKOKURA
10// This program is free software;
11// you can redistribute it and/or modify it under the terms of the FreeBSD License.
12// For details, see the License.txt file.
13
14#ifndef CPUSETTINGS
15#define CPUSETTINGS
16
17#include <pthread.h>
18
19namespace ARCS { // ARCS名前空間
22 public:
23 static void SetCPUandPolicy(const pthread_t FuncName, const unsigned int CPUnum, const int Policy);
24
25 private:
26 CPUSettings() = delete;
27 CPUSettings(CPUSettings&& right) = delete;
28 ~CPUSettings() = delete;
29 CPUSettings(const CPUSettings&) = delete;
30 const CPUSettings& operator=(const CPUSettings&) = delete;
31 };
32}
33
34#endif
35
CPU設定クラス
Definition CPUSettings.hh:21
static void SetCPUandPolicy(const pthread_t FuncName, const unsigned int CPUnum, const int Policy)
スレッドを動作させるCPUコアとポリシーを設定する関数
Definition CPUSettings.cc:36