Add aggregated cost dimensions to the CostGraph, typically used for
load-balancing decisions. PiperOrigin-RevId: 299182048 Change-Id: Ie9336b3f04c0bca21bcd6488da8d4be1889a451b
This commit is contained in:
parent
a05ddebba0
commit
338ea176a5
@ -76,4 +76,14 @@ message CostGraphDef {
|
||||
bool inaccurate = 17;
|
||||
}
|
||||
repeated Node node = 1;
|
||||
|
||||
// Total cost of this graph, typically used for balancing decisions.
|
||||
message AggregatedCost {
|
||||
// Aggregated cost value.
|
||||
float cost = 1;
|
||||
|
||||
// Aggregated cost dimension (e.g. 'memory', 'compute', 'network').
|
||||
string dimension = 2;
|
||||
}
|
||||
repeated AggregatedCost cost = 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user