Skip to content

Commit

Permalink
rats
Browse files Browse the repository at this point in the history
  • Loading branch information
squito committed Apr 1, 2015
1 parent 1578a4a commit 2c8b7ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .rat-excludes
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ local-1422981759269/*
local-1422981780767/*
local-1425081759269/*
local-1426533911241/*
local-1427397477963/*
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private[v1] object AllStagesResource {
def getMetric[T](data: Seq[T], f: T => Double): IndexedSeq[Double] =
Distribution(data.map{d=> f(d)}).get.getQuantiles(quantiles)

abstract class MetricHelper[I,O](f: InternalTaskMetrics => Option[I]) {
private abstract class MetricHelper[I,O](f: InternalTaskMetrics => Option[I]) {
val data: Seq[I] = rawMetrics.flatMap{x => f(x)}
def build: O
def m(f: I => Double): IndexedSeq[Double] = getMetric(data, f)
Expand Down

0 comments on commit 2c8b7ee

Please sign in to comment.