Skip to content

Commit

Permalink
add new file
Browse files Browse the repository at this point in the history
Signed-off-by: cindyyuanjiang <[email protected]>
  • Loading branch information
cindyyuanjiang committed Oct 30, 2024
1 parent ac162f0 commit 2d53682
Showing 1 changed file with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* 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.analysis

/**
* object Utils provides toolkit functions
*
*/
object AnalysisUtils {
val MEMORY_SPILLED_METRIC = "internal.metrics.memoryBytesSpilled"
val DISK_SPILLED_METRIC = "internal.metrics.diskBytesSpilled"
val INPUT_BYTES_READ_METRIC = "internal.metrics.input.bytesRead"
val OUTPUT_BYTES_WRITTEN_METRIC = "internal.metrics.output.bytesWritten"
val SW_TOTAL_BYTES_METRIC = "internal.metrics.shuffle.write.bytesWritten"
val SR_FETCH_WAIT_TIME_METRIC = "internal.metrics.shuffle.read.fetchWaitTime"
val SW_WRITE_TIME_METRIC = "internal.metrics.shuffle.write.writeTime"
val GPU_SEMAPHORE_WAIT_METRIC = "gpuSemaphoreWait"
}

0 comments on commit 2d53682

Please sign in to comment.