-
Notifications
You must be signed in to change notification settings - Fork 0
PEP format specification
Patryk Kiepas edited this page Jun 19, 2020
·
8 revisions
- File header
- Format tag [
"pep"
] - Format version [
uint16_t
] - Number of profile traces N [
uint16_t
] - Has instruction address flag IAF [
bool
]
- Format tag [
- 1..N profile traces:
- Trace start tag [
"@start"
] - Trace label
- Label size
LS
[uint16_t
] - Label content of size
LS
[LS * sizeof(char)
]
- Label size
- List of performance events
- Number of events NE [
uint8_t
] - 1..NE performance events
- Event length
EL
[uint8_t
] - Event content [
EL * sizeof(char)
]
- Event length
- Number of events NE [
- Measurements of performance events
- Number of observations (row of measurement values) [
uint32_t
] - Measurements [
NE * sizeof(long long int)
] - Instruction address [
if(IAF) then sizeof(inst_address_t)
]; usually,inst_address_t == unsigned long
- Number of observations (row of measurement values) [
- Trace end tag [
"@end"
]
- Trace start tag [