CPULoad

class CPULoad(val idx: Int, val timeOut: Long, val input: String) : Task

Produces CPU load by calculating SHA-256 hashes. Idea: should stress the CPU units.

Constructors

Link copied to clipboard
constructor(idx: Int, timeOut: Long, input: String)

Properties

Link copied to clipboard
val idx: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun perform(): Boolean
Link copied to clipboard
open fun run()