Skip to content

Commit

Permalink
fix test hang
Browse files Browse the repository at this point in the history
  • Loading branch information
tgravescs committed May 23, 2022
1 parent 992296c commit 7fcd8f8
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ object ToolUtils extends Logging {
}
}

// given to duration values, calculate a human average
// rounded to specified number of decimal places.
def calculateAverage(first: Double, size: Long, places: Int): Double = {
val firstDec = BigDecimal.decimal(first)
val sizeDec = BigDecimal.decimal(size)
Expand All @@ -55,12 +57,6 @@ object ToolUtils extends Logging {
resScale.toDouble
}
}

// given to duration values, calculate a human average
// rounded to specified number of decimal places.
def calculateAverage(first: Long, size: Long, places: Int): Double = {
calculateAverage(first, size, places)
}
}

case class GpuEventLogException(message: String) extends Exception(message)

0 comments on commit 7fcd8f8

Please sign in to comment.