struct rgt_frag_rec

Overview

Record in a RGT log bundle file describing how RAW log is split into fragments. More…

#include <rgt_log_bundle_common.h>

struct rgt_frag_rec {
    // fields

    char frag_name[DEF_STR_LEN];
    bool start_frag;
    unsigned int parent_id;
    unsigned int test_id;
    unsigned int tin;
    unsigned int depth;
    unsigned int seq;
    uint64_t length;
    uint64_t start_len;
    uint64_t frags_cnt;
    bool sniff_logs;
};

Detailed Documentation

Record in a RGT log bundle file describing how RAW log is split into fragments.

Fields

char frag_name[DEF_STR_LEN]

Fragment name

bool start_frag

true if this is a start fragment; false if it is an end fragment

unsigned int parent_id

Parent ID

unsigned int test_id

ID of the test/session/package to which this record belongs

unsigned int tin

Test Iteration Number

unsigned int depth

Depth number

unsigned int seq

Sequence number at a given depth

uint64_t length

Number of bytes in the fragment file

uint64_t start_len

Length of start control message in the starting fragment (it contains information such as test name and parameters)

uint64_t frags_cnt

Number of “inner” fragments into which this test/session/package was split (excluding starting and terminating ones)

bool sniff_logs

true if sniffer logs are present for this log item