tensorflow/core/profiler/utils/group_events.cc
// Creates stat metadata for the stats which may be added by grouping.
Creates stat metadata for the stats which may be added by grouping.
Creates stat metadata for the stats which may be added by grouping .
void CreateStatMetadata(XPlane* plane) {
  XPlaneBuilder builder(plane);
  builder.GetOrCreateStatMetadata(GetStatTypeStr(StatType::kGroupId));
  builder.GetOrCreateStatMetadata(GetStatTypeStr(StatType::kStepName));
  builder.GetOrCreateStatMetadata(GetStatTypeStr(StatType::kIsEager));
  builder.GetOrCreateStatMetadata(GetStatTypeStr(StatType::kSelectedGroupIds));
}
void CreateStatMetadata ( XPlane * plane ) { XPlaneBuilder builder ( plane ) ; builder . GetOrCreateStatMetadata ( GetStatTypeStr ( StatType :: kGroupId ) ) ; builder . GetOrCreateStatMetadata ( GetStatTypeStr ( StatType :: kStepName ) ) ; builder . GetOrCreateStatMetadata ( GetStatTypeStr ( StatType :: kIsEager ) ) ; builder . GetOrCreateStatMetadata ( GetStatTypeStr ( StatType :: kSelectedGroupIds ) ) ; }
Creates stat metadata for the stats which may be added by grouping.
Creates stat metadata for the stats which may be added by grouping .