OmniSketch  0.1
Oh my sketch!
OmniSketch::Data::Record< key_len > Struct Template Reference

Struct of a single record (i.e., a packet in a segment of streaming data) More...

#include <data.h>

Public Attributes

FlowKey< key_len > flowkey
 the flowkey associated with the record More...
 
int64_t timestamp
 measured in microsecond (i.e., 1e-6s) More...
 
int64_t length
 length of IP datagram (in bytes) More...
 

Detailed Description

template<int32_t key_len>
struct OmniSketch::Data::Record< key_len >

Struct of a single record (i.e., a packet in a segment of streaming data)

Template Parameters
key_lenlength of flowkey

Member Data Documentation

◆ flowkey

template<int32_t key_len>
FlowKey<key_len> OmniSketch::Data::Record< key_len >::flowkey

the flowkey associated with the record

◆ length

template<int32_t key_len>
int64_t OmniSketch::Data::Record< key_len >::length

length of IP datagram (in bytes)

Note
Both header and payload are counted.

◆ timestamp

template<int32_t key_len>
int64_t OmniSketch::Data::Record< key_len >::timestamp

measured in microsecond (i.e., 1e-6s)