struct

Logarithm::Profiling::Measurement

Inherits Struct < Value < Object

Performance measurement for a single operation

Constructors

new(name : String, start_time : Time, cpu_start : Float64, memory_start : Float64)
Source

Instance methods

complete(end_time : Time, cpu_end : Float64, memory_end : Float64)
Source
cpu_end
Source
cpu_start
Source
cpu_usage_delta
Source
duration
Source
end_time
Source
memory_end
Source
memory_start
Source
memory_usage_delta
Source
name
Source
start_time
Source
to_json(json : JSON::Builder)
Source