All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.profiling.causal.SamplingState.scala Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package zio.profiling.causal

sealed private trait SamplingState

private object SamplingState {
  final case class Warmup(
    until: Long
  ) extends SamplingState

  final case class ExperimentPending(
    iteration: Int,
    results: List[ExperimentResult]
  ) extends SamplingState

  final case class ExperimentInProgress(
    experiment: Experiment,
    iteration: Int,
    results: List[ExperimentResult]
  ) extends SamplingState

  final case class CoolOff(
    until: Long,
    iteration: Int,
    results: List[ExperimentResult]
  ) extends SamplingState

  case object Done extends SamplingState
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy