mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
orbis: initial budget implementation
This commit is contained in:
parent
2255d304e3
commit
8799c764dd
9 changed files with 470 additions and 63 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include "cpuset.hpp"
|
||||
#include "orbis/AppInfo.hpp"
|
||||
#include "orbis/AuthInfo.hpp"
|
||||
#include "orbis/Budget.hpp"
|
||||
#include "orbis/file.hpp"
|
||||
#include "orbis/module/Module.hpp"
|
||||
#include "orbis/utils/IdMap.hpp"
|
||||
|
|
@ -74,7 +75,8 @@ struct Process final {
|
|||
kstring root = "/";
|
||||
cpuset affinity{(1 << 7) - 1};
|
||||
sint memoryContainer{1};
|
||||
sint budgetId{1};
|
||||
sint budgetId{};
|
||||
Budget::ProcessType budgetProcessType{};
|
||||
bool isInSandbox = false;
|
||||
EventEmitter event;
|
||||
std::optional<sint> exitStatus;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue