| 137 | } |
| 138 | |
| 139 | uint32_t GetPropertyDataOffset(TRACE_EVENT_INFO const& tei, EVENT_RECORD const& eventRecord, uint32_t index) |
| 140 | { |
| 141 | assert(index < tei.TopLevelPropertyCount); |
| 142 | uint32_t offset = 0; |
| 143 | for (uint32_t i = 0; i < index; ++i) { |
| 144 | auto info = GetPropertyInfo(tei, eventRecord, i, offset); |
| 145 | offset += info.size_ * info.count_; |
| 146 | } |
| 147 | return offset; |
| 148 | } |
| 149 | |
| 150 | } |
| 151 |
no test coverage detected