Benchmark::BM::Tms

class Benchmark::BM::Tms

Overview

A data object, representing the times associated with a benchmark measurement.

Defined in:

benchmark/bm.cr

Instance Method Summary

Instance Method Detail

def cstime : Float64Source

System CPU time of children

def cutime : Float64Source

User CPU time of children

def label : StringSource

The label associated with this measure

def real : Float64Source

Elapsed real time

def stime : Float64Source

System CPU time

def to_s(io : IO)Source

Prints utime, stime, total and real to the given IO.

def totalSource

Total time, that is utime + stime + cutime + cstime

def utime : Float64Source

User CPU time

© 2012–2017 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.22.0/Benchmark/BM/Tms.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部