Adding discovery of capacities after the fact.
This commit is contained in:
@@ -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