8#include "Arp/System/Rsc/Services/IRscSerializable.hpp"
9#include "Arp/System/Rsc/Services/RscReader.hpp"
10#include "Arp/System/Rsc/Services/RscWriter.hpp"
14namespace Arp {
namespace Hardware {
namespace Nim {
namespace Services
53 writer.
Write(this->MovingAverage);
54 writer.
Write(this->MovingAverageMax);
55 writer.
Write(this->Peak);
56 writer.
Write(this->LimitingDuration);
57 writer.
Write(this->LimitingEventCount);
62 reader.
Read(this->MovingAverage);
63 reader.
Read(this->MovingAverageMax);
64 reader.
Read(this->Peak);
65 reader.
Read(this->LimitingDuration);
66 reader.
Read(this->LimitingEventCount);
69 static constexpr size_t GetFieldCount(
void)
Statistical values for the NetloadLimiter
Definition: LimiterStatistic.hpp:24
void Deserialize(RscReader &reader) override
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
Definition: LimiterStatistic.hpp:60
uint32 MovingAverage
Moving average over 1 second (1000 measurement cycles per second).
Definition: LimiterStatistic.hpp:29
uint64 LimitingDuration
Sum of time the limiter was limiting since last reset (microseconds).
Definition: LimiterStatistic.hpp:44
uint32 LimitingEventCount
Number of limiting events since last reset.
Definition: LimiterStatistic.hpp:49
uint32 Peak
Max value of a single 1 milli second measurement cycle.
Definition: LimiterStatistic.hpp:39
uint32 MovingAverageMax
Max value of Arp.Hardware.Nim.Services.LimiterStatistic.MovingAverage.
Definition: LimiterStatistic.hpp:34
void Serialize(RscWriter &writer) const override
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
Definition: LimiterStatistic.hpp:51
Marshalls structure or class data types. Serialize and Deserialize have to marshal fields in the same...
Definition: IRscSerializable.hpp:20
Reads data from Rsc
Definition: RscReader.hpp:27
T Read(void)
Reads an element of T from Rsc. With data tagging enabled RscType of T is validated.
Definition: RscReader.hpp:166
Writes data to Rsc.
Definition: RscWriter.hpp:32
void Write(const T &value)
Writes an element of T from Rsc. Datatag and format is determined deducted by type of T.
Definition: RscWriter.hpp:178
std::uint64_t uint64
The Arp unsigned integer type of 8 byte size.
Definition: PrimitiveTypes.hpp:40
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:36
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API