Adding discovery of capacities after the fact.

This commit is contained in:
Ian Roddis committed 2021-12-24 10:52:06 -04:00
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);