One measured quantity.
More...
#include <benchmark.hpp>
|
| std::string | name |
| | What was measured, for example "train.mlp" or "conservation.lrp_epsilon.mlp".
|
| |
| std::string | device |
| | Where it ran: "cpu", "hip" or "cuda".
|
| |
| Kind | kind = Kind::Time |
| |
| TimingStats | stats |
| | Set for Kind::Time.
|
| |
| double | value = 0.0 |
| | Set for Kind::Metric. May be NaN or infinite when the measured thing is broken.
|
| |
| std::string | unit |
| | What value or stats measure, for example "ms per step" or "relative error".
|
| |
◆ Kind
| Enumerator |
|---|
| Time | A duration: stats holds the timings and lower is better.
|
| Metric | A single number where lower is better, such as a relative error: value holds it.
|
◆ device
| std::string pulsatrix::BenchmarkRecord::device |
Where it ran: "cpu", "hip" or "cuda".
◆ kind
◆ name
| std::string pulsatrix::BenchmarkRecord::name |
What was measured, for example "train.mlp" or "conservation.lrp_epsilon.mlp".
◆ stats
◆ unit
| std::string pulsatrix::BenchmarkRecord::unit |
What value or stats measure, for example "ms per step" or "relative error".
◆ value
| double pulsatrix::BenchmarkRecord::value = 0.0 |
Set for Kind::Metric. May be NaN or infinite when the measured thing is broken.
The documentation for this struct was generated from the following file: