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

commonMain.net.codinux.util.stopwatch.statistics.TaskStatisticsCollector.kt Maven / Gradle / Ivy

The newest version!
package net.codinux.util.stopwatch.statistics

import net.codinux.util.stopwatch.Duration

interface TaskStatisticsCollector {

  fun addElapsedTime(task: String, elapsed: Duration)

  fun getMeasuredDurationsFor(task: String): List?

  fun getStatisticsFor(task: String): TaskStatistics?

  fun logStatistics(task: String)

  fun logAllStatistics()

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy