uint8_t alignment; /* Event header alignment */
uint8_t tsc_lsb_truncate;
uint8_t tscbits;
+ uint8_t compact_data_shift;
uint32_t freq_scale;
uint64_t start_freq;
uint64_t start_tsc;
uint8_t tsc_lsb_truncate;
uint8_t tscbits;
uint8_t tsc_msb_cutoff;
+ uint8_t compact_event_bits;
uint64_t tsc_mask;
uint64_t tsc_mask_next_bit; //next MSB after the mask
tf->tsc_lsb_truncate = vheader->tsc_lsb_truncate;
tf->tscbits = vheader->tscbits;
tf->tsc_msb_cutoff = 32 - tf->tsc_lsb_truncate - tf->tscbits;
+ tf->compact_event_bits = 32 - vheader->compact_data_shift;
tf->tsc_mask = ((1ULL << (tf->tscbits))-1);
tf->tsc_mask = tf->tsc_mask << tf->tsc_lsb_truncate;
tf->tsc_mask_next_bit = (1ULL<<(tf->tscbits));
(double)t->start_tsc
* (1000000000.0 / tf->trace->freq_scale)
/ (double)t->start_freq);
- t->compact_event_bits = 0;
}
}
break;