Module Tezos_oxymeter__.Metrics
Measure
Measures are defined as a unit you want to get when you observer the consumption.
module type MEASURE = sig ... endModule that represents a measure unit.
module EnergyMeasure : MEASUREModule with informations about the energy measure.
module TimeMeasure : MEASUREModule with informations about the time measure .
Metrics
Metrics are the way to record measures until the end of the program or when a signal is triggered.
module type METRICS = sig ... endModule that represents an instrument to take and save mesures.
module MakeMetrics : functor (M : MEASURE) -> METRICSFunctor to create an instrument to get
METRICSfrom aMEASUREunit.
module TimeMetrics : METRICSModule to gather metrics about time.
module EnergyMetrics : METRICSModule to gather metrics about consumption.