Documentation ¶
Index ¶
Constants ¶
View Source
const ( CncFile = "cnc.dat" CurrentCncVersion int32 = 15 )
View Source
const COUNTER_LENGTH = util.CacheLineLength * 2
View Source
const FULL_LABEL_LENGTH = util.CacheLineLength * 6
View Source
const LABEL_OFFSET = util.CacheLineLength * 2
View Source
const METADATA_LENGTH = LABEL_OFFSET + FULL_LABEL_LENGTH
View Source
const RECORD_ALLOCATED int32 = 1
View Source
const RECORD_UNUSED int32 = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaDataFlyweight ¶
type MetaDataFlyweight struct { flyweight.FWBase CncVersion flyweight.Int32Field ToDriverBufLen flyweight.Int32Field ToClientBufLen flyweight.Int32Field ClientLivenessTo flyweight.Int64Field ToDriverBuf flyweight.RawDataField ToClientsBuf flyweight.RawDataField MetaDataBuf flyweight.RawDataField ValuesBuf flyweight.RawDataField ErrorBuf flyweight.RawDataField // contains filtered or unexported fields }
*
- Description of the command and control file used between driver and clients.
- <p>
- File Layout
- <pre>
- +-----------------------------+
- | Meta Data |
- +-----------------------------+
- | to-driver Buffer |
- +-----------------------------+
- | to-clients Buffer |
- +-----------------------------+
- | Counters Metadata Buffer |
- +-----------------------------+
- | Counters Values Buffer |
- +-----------------------------+
- | Error Log |
- +-----------------------------+
- </pre>
- <p>
- Meta Data Layout (CnC Version 7)
- <pre>
- 0 1 2 3
- 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- | Aeron CnC Version |
- +---------------------------------------------------------------+
- | to-driver buffer length |
- +---------------------------------------------------------------+
- | to-clients buffer length |
- +---------------------------------------------------------------+
- | Counters Metadata buffer length |
- +---------------------------------------------------------------+
- | Counters Values buffer length |
- +---------------------------------------------------------------+
- | Error Log buffer length |
- +---------------------------------------------------------------+
- | Client Liveness Timeout |
- | |
- +---------------------------------------------------------------+
- </pre>
Click to show internal directories.
Click to hide internal directories.