From 882d40300fe0f0e1bef7fc1878a8c03e4b19a5c6 Mon Sep 17 00:00:00 2001 From: cindyyuanjiang Date: Tue, 12 Nov 2024 16:13:06 -0800 Subject: [PATCH] new file Signed-off-by: cindyyuanjiang --- .../profiling/DiagnosticSummaryInfo.scala | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 core/src/main/scala/com/nvidia/spark/rapids/tool/profiling/DiagnosticSummaryInfo.scala diff --git a/core/src/main/scala/com/nvidia/spark/rapids/tool/profiling/DiagnosticSummaryInfo.scala b/core/src/main/scala/com/nvidia/spark/rapids/tool/profiling/DiagnosticSummaryInfo.scala new file mode 100644 index 000000000..2a7633f81 --- /dev/null +++ b/core/src/main/scala/com/nvidia/spark/rapids/tool/profiling/DiagnosticSummaryInfo.scala @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2024, NVIDIA CORPORATION. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.nvidia.spark.rapids.tool.profiling + +/** + * Stores Profiler diagnostic info. We plan to add two more fields shortly. + */ +case class DiagnosticSummaryInfo( + stageDiagnostics: Seq[StageDiagnosticResult] +)