Lines Matching refs:msg

32 static size_t createStatsEvent(uint8_t* msg, int numElements = 1) {  in createStatsEvent()  argument
42 memcpy(msg, buf, size); in createStatsEvent()
46 static size_t createStatsEventMedium(uint8_t* msg) { in createStatsEventMedium() argument
47 return createStatsEvent(msg, 5); in createStatsEventMedium()
50 static size_t createStatsEventLarge(uint8_t* msg) { in createStatsEventLarge() argument
51 return createStatsEvent(msg, 10); in createStatsEventLarge()
54 static size_t createStatsEventExtraLarge(uint8_t* msg) { in createStatsEventExtraLarge() argument
55 return createStatsEvent(msg, 20); in createStatsEventExtraLarge()
59 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreation() local
60 const size_t size = createStatsEvent(msg); in BM_LogEventCreation()
63 benchmark::DoNotOptimize(event.parseBuffer(msg, size)); in BM_LogEventCreation()
69 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationWithPrefetch() local
70 const size_t size = createStatsEvent(msg); in BM_LogEventCreationWithPrefetch()
75 const LogEvent::BodyBufferInfo header = event.parseHeader(msg, size); in BM_LogEventCreationWithPrefetch()
84 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationWithPrefetchOnly() local
85 const size_t size = createStatsEvent(msg); in BM_LogEventCreationWithPrefetchOnly()
90 benchmark::DoNotOptimize(event.parseHeader(msg, size)); in BM_LogEventCreationWithPrefetchOnly()
96 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationMedium() local
97 const size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMedium()
101 benchmark::DoNotOptimize(event.parseBuffer(msg, size)); in BM_LogEventCreationMedium()
107 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationMediumWithPrefetch() local
108 const size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMediumWithPrefetch()
113 const LogEvent::BodyBufferInfo header = event.parseHeader(msg, size); in BM_LogEventCreationMediumWithPrefetch()
122 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationMediumWithPrefetchOnly() local
123 const size_t size = createStatsEventMedium(msg); in BM_LogEventCreationMediumWithPrefetchOnly()
128 benchmark::DoNotOptimize(event.parseHeader(msg, size)); in BM_LogEventCreationMediumWithPrefetchOnly()
134 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationLarge() local
135 const size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLarge()
139 benchmark::DoNotOptimize(event.parseBuffer(msg, size)); in BM_LogEventCreationLarge()
145 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationLargeWithPrefetch() local
146 const size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLargeWithPrefetch()
151 const LogEvent::BodyBufferInfo header = event.parseHeader(msg, size); in BM_LogEventCreationLargeWithPrefetch()
160 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationLargeWithPrefetchOnly() local
161 const size_t size = createStatsEventLarge(msg); in BM_LogEventCreationLargeWithPrefetchOnly()
166 benchmark::DoNotOptimize(event.parseHeader(msg, size)); in BM_LogEventCreationLargeWithPrefetchOnly()
172 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationExtraLarge() local
173 const size_t size = createStatsEventExtraLarge(msg); in BM_LogEventCreationExtraLarge()
177 benchmark::DoNotOptimize(event.parseBuffer(msg, size)); in BM_LogEventCreationExtraLarge()
183 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationExtraLargeWithPrefetch() local
184 const size_t size = createStatsEventExtraLarge(msg); in BM_LogEventCreationExtraLargeWithPrefetch()
189 const LogEvent::BodyBufferInfo header = event.parseHeader(msg, size); in BM_LogEventCreationExtraLargeWithPrefetch()
198 uint8_t msg[LOGGER_ENTRY_MAX_PAYLOAD]; in BM_LogEventCreationExtraLargeWithPrefetchOnly() local
199 const size_t size = createStatsEventExtraLarge(msg); in BM_LogEventCreationExtraLargeWithPrefetchOnly()
204 benchmark::DoNotOptimize(event.parseHeader(msg, size)); in BM_LogEventCreationExtraLargeWithPrefetchOnly()