TimeLogger

class TimeLogger(processName: String)

The TimeLogger class is designed to measure the duration of a process for benchmarking purposes. It takes a processName as a parameter to identify the process being timed.

Usage:

  • Call start() to begin tracking the time for a process.

  • Call finish() to log the time taken since start() was invoked.

Constructors

Link copied to clipboard
constructor(processName: String)

Functions

Link copied to clipboard
fun finish()
Link copied to clipboard
fun start()