message: Add performance environment to OpStats.
diff: @@ -4,6 +4,17 @@ package tensorflow.profiler;
  import "tensorflow/core/profiler/protobuf/op_metrics.proto";
  +// Performance environment, e.g the peak performance capabilities of the device.
  +message PerfEnv {
  + // Peak performance of a TPU core or a GPU in TFLOP/s.
  + double peak_tera_flops_per_second = 1;
  + // Peak memory bandwidth of a TPU core or a GPU in GiBs/s.
  + double peak_hbm_bw_giga_bytes_per_second = 2;
  + // The ridge point of roofline model in FLOP/Byte. (i.e., minimum operational
  + // intensity required to achieve maximum performance).
  + double ridge_point = 3;
  +}
  +
  // Operator Statistics.
  message OpStats {
  // The database for the op metrics collected from the host over the entire
  @@ -12,4 +23,6 @@ message OpStats {
  // The database for the op metrics collected from the device over the entire
  // profiling session including incomplete steps.
  OpMetricsDb device_op_metrics_db = 2;
  + // Performance environment of the op metrics collected.
  + PerfEnv perf_env = 3;
  }
  