Adding discovery of capacities after the fact.
This commit is contained in:
1 parent
8ca5cdafe2
commit
3c6966a9ac
2 files changed
+24
-3
No files matched your search
@@ -15,6 +15,11 @@ namespace daggy::executors::task {
|
||||
{
|
||||
ssize_t cores;
|
||||
ssize_t memoryMB;
|
||||
void operator==(const Capacity &other)
|
||||
{
|
||||
cores = other.cores;
|
||||
memoryMB = other.memoryMB;
|
||||
}
|
||||
};
|
||||
|
||||
std::string capacityToJSON(const Capacity &cap);
|
||||
|
||||
Reference in new issue
Block a user