24 #include "ns3/uinteger.h"
38 : m_senderTimestamp(senderTimestamp)
68 i.
Write((
const uint8_t*)&senderTimestamp,
sizeof(int64_t));
74 int64_t senderTimestamp;
75 i.
Read((uint8_t*)&senderTimestamp, 8);
Tag to calculate the per-PDU delay from eNb PDCP to UE PDCP.
void SetSenderTimestamp(Time senderTimestamp)
Set the sender timestamp.
void Serialize(TagBuffer i) const override
Time GetSenderTimestamp() const
Get the instant when the PDCP delivers the PDU to the MAC SAP provider.
Time m_senderTimestamp
sender timestamp
void Print(std::ostream &os) const override
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
static TypeId GetTypeId()
Get the type ID.
uint32_t GetSerializedSize() const override
void Deserialize(TagBuffer i) override
PdcpTag()
Create an empty PDCP tag.
void Read(uint8_t *buffer, uint32_t size)
void Write(const uint8_t *buffer, uint32_t size)
tag a set of bytes in a packet
Simulation virtual time values and global simulation resolution.
int64_t GetNanoSeconds() const
Get an approximation of the time stored in this instance in the indicated unit.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Time NanoSeconds(uint64_t value)
Construct a Time in the indicated unit.
Time Seconds(double value)
Construct a Time in the indicated unit.
void(* Time)(Time oldValue, Time newValue)
TracedValue callback signature for Time.
Every class exported by the ns3 library is enclosed in the ns3 namespace.