<PRE><TT>
begin
* the beginning of buffer information
- timestamp
- * Used only when no TSC is available.
- uint32 seconds
- uint32 microseconds
uint64 cycle_count
* TSC at the beginning of the buffer
uint64 freq
* frequency of the CPUs at the beginning of the buffer.
end
* the end of buffer information
- timestamp
- * Used only when no TSC is available.
- uint32 seconds
- uint32 microseconds
uint64 cycle_count
* TSC at the beginning of the buffer
uint64 freq
* Is the information in this trace aligned ?
Yes (1) -> aligned on min(arch size, atomic data size).
No (0) -> data is packed.
-uint8 has_tsc
- * Does the traced machine has a working TSC ?
- Yes (1) -> event time is calculated from :
- trace_start_time + ((event_tsc - trace_start_tsc) * freq)
- No (0) -> event time is calculated from :
- trace_start_time
- + (buffer start timestamp - trace start_monotonic)
- + (event_time_delta)
- (not supported)
+uint328 freq_scale
+ event time is always calculated from :
+ trace_start_time + ((event_tsc - trace_start_tsc) * (freq / freq_scale))
uint64 start_freq
* CPUs clock frequency at the beginnig of the trace.
uint64 start_tsc
uint64 timestamp }
* if has_heartbeat : 32 LSB of the cycle counter at the event record time.
* else : 64 bits complete cycle counter.
- * note : if there is no working TSC (has_tsc == 0), then this field contains
- either the complete monotonically increasing time or the time delta from the
- previous heartbeat event. (unsupported)
uint8 facility_id
* Numerical ID of the facility corresponding to the event. See the facility
tracefile to know which facility ID matches which facility name and