20#ifndef BEAST_INSIGHT_EVENT_H_INCLUDED
21#define BEAST_INSIGHT_EVENT_H_INCLUDED
23#include <xrpl/beast/insight/EventImpl.h>
62 template <
class Rep,
class Period>
68 m_impl->notify(ceil<value_type>(value));
std::chrono::milliseconds value_type
A metric for reporting event timing.
std::shared_ptr< EventImpl > m_impl
std::shared_ptr< EventImpl > const & impl() const
Event(std::shared_ptr< EventImpl > const &impl)
Create the metric reference the specified implementation.
Event()
Create a null metric.
void notify(std::chrono::duration< Rep, Period > const &value) const
Push an event notification.