Add minimum op time to OpMetrics

PiperOrigin-RevId: 286276718
Change-Id: Ide2445cc395c1a28c4faf176034c2f34f41cc50a
This commit is contained in:
Jose Baiocchi 2019-12-18 15:23:39 -08:00 committed by TensorFlower Gardener
parent 6080b542de
commit 994c6e8dfe

View File

@ -26,7 +26,7 @@ message LayoutAnalysis {
}
// Metrics for an operation (accumulated over all occurrences).
// Next ID: 17
// Next ID: 18
message OpMetrics {
// HLO module id. 0 for TF ops.
uint64 hlo_module_id = 13;
@ -40,6 +40,8 @@ message OpMetrics {
uint32 occurrences = 3;
// Total time (self + children) in picoseconds.
uint64 time_ps = 7;
// Minimum time (self + children) among all occurrences.
uint64 min_time_ps = 17;
// Total self time in picoseconds.
uint64 self_time_ps = 1;
// Total FLOPs.