blob: a06bfe8292c0089277b7590abb6c06a40d3e7151 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <library/cpp/actors/core/actor.h>
#include <library/cpp/monlib/dynamic_counters/counters.h>
namespace NActors {
ui64 MeasureTaskDurationNs();
NActors::IActor* CreateSelfPingActor(
TDuration sendInterval,
const NMonitoring::TDynamicCounters::TCounterPtr& maxPingCounter,
const NMonitoring::TDynamicCounters::TCounterPtr& avgPingCounter,
const NMonitoring::TDynamicCounters::TCounterPtr& avgPingSmallWindowCounter,
const NMonitoring::TDynamicCounters::TCounterPtr& calculationTimeCounter);
} // NActors
|