Skip to content

Instantly share code, notes, and snippets.

@skarlsso
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skarlsso/d0748546ce026f6bcb60 to your computer and use it in GitHub Desktop.
Save skarlsso/d0748546ce026f6bcb60 to your computer and use it in GitHub Desktop.
CC3D memory usage at startup
CC3D memory usage at startup:
Allocs: 270 Captured: 270 Max: 300
0 total: 16 size: 16: where: flight/pios/stm32f10x/pios_spi.c
1 total: 92 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
2 total: 96 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
3 total: 116 size: 20: where: flight/pios/common/pios_flash_jedec.c
4 total: 140 size: 24: where: flight/pios/common/pios_flashfs_logfs.c
5 total: 216 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
6 total: 304 size: 88: where: flight/pios/common/pios_task_monitor.c
7 total: 380 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
8 total: 456 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
9 total: 532 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
10 total: 736 size: 204: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
11 total: 784 size: 48: where: flight/pios/common/pios_callbackscheduler.c
12 total: 860 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
13 total: 864 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
14 total: 904 size: 40: where: flight/pios/common/pios_callbackscheduler.c
15 total: 980 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
16 total: 1044 size: 64: where: UAVO-HwSettings
17 total: 1096 size: 52: where: UAVO-SystemAlarms
18 total: 1172 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
19 total: 1180 size: 8: where: flight/pios/stm32f10x/pios_usb.c
20 total: 1344 size: 164: where: flight/pios/stm32f10x/pios_usb_hid.c
21 total: 1412 size: 68: where: flight/targets/boards/coptercontrol/firmware/pios_board.c
22 total: 1480 size: 68: where: flight/targets/boards/coptercontrol/firmware/pios_board.c
23 total: 1532 size: 52: where: flight/pios/common/pios_com.c
24 total: 1608 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
25 total: 1612 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
26 total: 1688 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
27 total: 1692 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
28 total: 1768 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
29 total: 1796 size: 28: where: flight/pios/stm32f10x/pios_usart.c
30 total: 1828 size: 32: where: flight/targets/boards/coptercontrol/firmware/pios_board.c
31 total: 1840 size: 12: where: flight/targets/boards/coptercontrol/firmware/pios_board.c
32 total: 1892 size: 52: where: flight/pios/common/pios_com.c
33 total: 1968 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
34 total: 1972 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
35 total: 2048 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
36 total: 2052 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
37 total: 2128 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
38 total: 2240 size: 112: where: flight/pios/stm32f10x/pios_pwm.c
39 total: 2252 size: 12: where: flight/pios/common/pios_rcvr.c
40 total: 2260 size: 8: where: flight/pios/stm32f10x/pios_servo.c
41 total: 2276 size: 16: where: flight/pios/stm32f10x/pios_spi.c
42 total: 2352 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
43 total: 2356 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
44 total: 2380 size: 24: where: flight/pios/common/pios_mpu6000.c
45 total: 2456 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
46 total: 2508 size: 52: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
47 total: 2524 size: 16: where: flight/pios/common/pios_mpu6000.c
48 total: 2552 size: 28: where: UAVO-MPUGyroAccelSettings
49 total: 2564 size: 12: where: flight/libraries/sanitycheck.c
50 total: 2708 size: 144: where: UAVO-ActuatorSettings
51 total: 2724 size: 16: where: UAVO-connectObj
52 total: 2796 size: 72: where: UAVO-SystemSettings
53 total: 2856 size: 60: where: UAVO-SystemStats
54 total: 2888 size: 32: where: UAVO-FlightStatus
55 total: 2924 size: 36: where: UAVO-ObjectPersistence
56 total: 3000 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
57 total: 3012 size: 12: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
58 total: 3080 size: 68: where: TCB
59 total: 3744 size: 664: where: TaskStack-System
60 total: 3796 size: 52: where: UAVO-AttitudeState
61 total: 3868 size: 72: where: UAVO-AttitudeSettings
62 total: 3984 size: 116: where: UAVO-AccelGyroSettings
63 total: 4020 size: 36: where: UAVO-AccelState
64 total: 4056 size: 36: where: UAVO-GyroState
65 total: 4072 size: 16: where: UAVO-connectObj
66 total: 4088 size: 16: where: UAVO-connectObj
67 total: 4132 size: 44: where: UAVO-StabilizationDesired
68 total: 4268 size: 136: where: UAVO-StabilizationSettings
69 total: 4300 size: 32: where: UAVO-StabilizationStatus
70 total: 4468 size: 168: where: UAVO-StabilizationBank
71 total: 4636 size: 168: where: UAVO-StabilizationSettingsBank1
72 total: 4804 size: 168: where: UAVO-StabilizationSettingsBank2
73 total: 4972 size: 168: where: UAVO-StabilizationSettingsBank3
74 total: 5012 size: 40: where: UAVO-RateDesired
75 total: 5080 size: 68: where: UAVO-ManualControlCommand
76 total: 5120 size: 40: where: flight/pios/common/pios_callbackscheduler.c
77 total: 5136 size: 16: where: UAVO-connectObj
78 total: 5184 size: 48: where: UAVO-ActuatorDesired
79 total: 5224 size: 40: where: flight/pios/common/pios_callbackscheduler.c
80 total: 5240 size: 16: where: UAVO-connectObj
81 total: 5256 size: 16: where: UAVO-connectObj
82 total: 5412 size: 156: where: UAVO-MixerSettings
83 total: 5428 size: 16: where: UAVO-connectObj
84 total: 5504 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
85 total: 5524 size: 20: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
86 total: 5540 size: 16: where: UAVO-connectObj
87 total: 5576 size: 36: where: UAVO-AccessoryDesired
88 total: 5632 size: 56: where: UAVO-ActuatorCommand
89 total: 5648 size: 16: where: UAVO-connectObj
90 total: 5676 size: 28: where: UAVO-ReceiverActivity
91 total: 5704 size: 28: where: UAVO-ReceiverStatus
92 total: 5856 size: 152: where: UAVO-ManualControlSettings
93 total: 5872 size: 16: where: UAVO-connectObj
94 total: 5964 size: 92: where: UAVO-FlightModeSettings
95 total: 6004 size: 40: where: flight/pios/common/pios_callbackscheduler.c
96 total: 6152 size: 148: where: UAVO-FirmwareIAPObj
97 total: 6168 size: 16: where: UAVO-connectObj
98 total: 6232 size: 64: where: UAVO-FlightTelemetryStats
99 total: 6296 size: 64: where: UAVO-GCSTelemetryStats
100 total: 6372 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
101 total: 6456 size: 84: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
102 total: 6488 size: 32: where: eventPeriodCreate
103 total: 6596 size: 108: where: flight/uavtalk/uavtalk.c
104 total: 6672 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
105 total: 6748 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
106 total: 6980 size: 232: where: flight/uavtalk/uavtalk.c
107 total: 7212 size: 232: where: flight/uavtalk/uavtalk.c
108 total: 7288 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
109 total: 7292 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
110 total: 7360 size: 68: where: TCB
111 total: 7552 size: 192: where: TaskStack-IDLE
112 total: 7620 size: 68: where: TCB
113 total: 8164 size: 544: where: TaskStack-Attitude
114 total: 8180 size: 16: where: flight/modules/Attitude/attitude.c
115 total: 8196 size: 16: where: UAVO-connectObj
116 total: 8212 size: 16: where: UAVO-connectObj
117 total: 8228 size: 16: where: UAVO-connectObj
118 total: 8244 size: 16: where: UAVO-connectObj
119 total: 8260 size: 16: where: UAVO-connectObj
120 total: 8276 size: 16: where: UAVO-connectObj
121 total: 8292 size: 16: where: UAVO-connectObj
122 total: 8360 size: 68: where: TCB
123 total: 9184 size: 824: where: TaskStack-Actuator
124 total: 9252 size: 68: where: TCB
125 total: 9876 size: 624: where: TaskStack-Receiver
126 total: 9884 size: 8: where: CreateInstance-AccessoryDesired
127 total: 9892 size: 8: where: CreateInstance-AccessoryDesired
128 total: 9908 size: 16: where: UAVO-connectObj
129 total: 9924 size: 16: where: UAVO-connectObj
130 total: 9940 size: 16: where: UAVO-connectObj
131 total: 9972 size: 32: where: eventPeriodCreate
132 total: 10004 size: 32: where: eventPeriodCreate
133 total: 10020 size: 16: where: UAVO-connectObj
134 total: 10036 size: 16: where: UAVO-connectObj
135 total: 10068 size: 32: where: eventPeriodCreate
136 total: 10100 size: 32: where: eventPeriodCreate
137 total: 10116 size: 16: where: UAVO-connectObj
138 total: 10132 size: 16: where: UAVO-connectObj
139 total: 10164 size: 32: where: eventPeriodCreate
140 total: 10196 size: 32: where: eventPeriodCreate
141 total: 10212 size: 16: where: UAVO-connectObj
142 total: 10228 size: 16: where: UAVO-connectObj
143 total: 10260 size: 32: where: eventPeriodCreate
144 total: 10292 size: 32: where: eventPeriodCreate
145 total: 10308 size: 16: where: UAVO-connectObj
146 total: 10324 size: 16: where: UAVO-connectObj
147 total: 10356 size: 32: where: eventPeriodCreate
148 total: 10388 size: 32: where: eventPeriodCreate
149 total: 10404 size: 16: where: UAVO-connectObj
150 total: 10420 size: 16: where: UAVO-connectObj
151 total: 10452 size: 32: where: eventPeriodCreate
152 total: 10484 size: 32: where: eventPeriodCreate
153 total: 10500 size: 16: where: UAVO-connectObj
154 total: 10516 size: 16: where: UAVO-connectObj
155 total: 10548 size: 32: where: eventPeriodCreate
156 total: 10580 size: 32: where: eventPeriodCreate
157 total: 10596 size: 16: where: UAVO-connectObj
158 total: 10612 size: 16: where: UAVO-connectObj
159 total: 10644 size: 32: where: eventPeriodCreate
160 total: 10676 size: 32: where: eventPeriodCreate
161 total: 10692 size: 16: where: UAVO-connectObj
162 total: 10708 size: 16: where: UAVO-connectObj
163 total: 10740 size: 32: where: eventPeriodCreate
164 total: 10772 size: 32: where: eventPeriodCreate
165 total: 10788 size: 16: where: UAVO-connectObj
166 total: 10804 size: 16: where: UAVO-connectObj
167 total: 10836 size: 32: where: eventPeriodCreate
168 total: 10868 size: 32: where: eventPeriodCreate
169 total: 10884 size: 16: where: UAVO-connectObj
170 total: 10900 size: 16: where: UAVO-connectObj
171 total: 10932 size: 32: where: eventPeriodCreate
172 total: 10964 size: 32: where: eventPeriodCreate
173 total: 10980 size: 16: where: UAVO-connectObj
174 total: 10996 size: 16: where: UAVO-connectObj
175 total: 11028 size: 32: where: eventPeriodCreate
176 total: 11060 size: 32: where: eventPeriodCreate
177 total: 11076 size: 16: where: UAVO-connectObj
178 total: 11092 size: 16: where: UAVO-connectObj
179 total: 11124 size: 32: where: eventPeriodCreate
180 total: 11156 size: 32: where: eventPeriodCreate
181 total: 11172 size: 16: where: UAVO-connectObj
182 total: 11188 size: 16: where: UAVO-connectObj
183 total: 11220 size: 32: where: eventPeriodCreate
184 total: 11252 size: 32: where: eventPeriodCreate
185 total: 11268 size: 16: where: UAVO-connectObj
186 total: 11284 size: 16: where: UAVO-connectObj
187 total: 11316 size: 32: where: eventPeriodCreate
188 total: 11348 size: 32: where: eventPeriodCreate
189 total: 11364 size: 16: where: UAVO-connectObj
190 total: 11380 size: 16: where: UAVO-connectObj
191 total: 11412 size: 32: where: eventPeriodCreate
192 total: 11444 size: 32: where: eventPeriodCreate
193 total: 11460 size: 16: where: UAVO-connectObj
194 total: 11476 size: 16: where: UAVO-connectObj
195 total: 11508 size: 32: where: eventPeriodCreate
196 total: 11540 size: 32: where: eventPeriodCreate
197 total: 11556 size: 16: where: UAVO-connectObj
198 total: 11572 size: 16: where: UAVO-connectObj
199 total: 11604 size: 32: where: eventPeriodCreate
200 total: 11636 size: 32: where: eventPeriodCreate
201 total: 11652 size: 16: where: UAVO-connectObj
202 total: 11668 size: 16: where: UAVO-connectObj
203 total: 11700 size: 32: where: eventPeriodCreate
204 total: 11732 size: 32: where: eventPeriodCreate
205 total: 11748 size: 16: where: UAVO-connectObj
206 total: 11764 size: 16: where: UAVO-connectObj
207 total: 11796 size: 32: where: eventPeriodCreate
208 total: 11828 size: 32: where: eventPeriodCreate
209 total: 11844 size: 16: where: UAVO-connectObj
210 total: 11860 size: 16: where: UAVO-connectObj
211 total: 11892 size: 32: where: eventPeriodCreate
212 total: 11924 size: 32: where: eventPeriodCreate
213 total: 11940 size: 16: where: UAVO-connectObj
214 total: 11956 size: 16: where: UAVO-connectObj
215 total: 11988 size: 32: where: eventPeriodCreate
216 total: 12020 size: 32: where: eventPeriodCreate
217 total: 12036 size: 16: where: UAVO-connectObj
218 total: 12052 size: 16: where: UAVO-connectObj
219 total: 12084 size: 32: where: eventPeriodCreate
220 total: 12116 size: 32: where: eventPeriodCreate
221 total: 12132 size: 16: where: UAVO-connectObj
222 total: 12148 size: 16: where: UAVO-connectObj
223 total: 12180 size: 32: where: eventPeriodCreate
224 total: 12212 size: 32: where: eventPeriodCreate
225 total: 12228 size: 16: where: UAVO-connectObj
226 total: 12244 size: 16: where: UAVO-connectObj
227 total: 12276 size: 32: where: eventPeriodCreate
228 total: 12308 size: 32: where: eventPeriodCreate
229 total: 12324 size: 16: where: UAVO-connectObj
230 total: 12340 size: 16: where: UAVO-connectObj
231 total: 12372 size: 32: where: eventPeriodCreate
232 total: 12404 size: 32: where: eventPeriodCreate
233 total: 12420 size: 16: where: UAVO-connectObj
234 total: 12436 size: 16: where: UAVO-connectObj
235 total: 12468 size: 32: where: eventPeriodCreate
236 total: 12500 size: 32: where: eventPeriodCreate
237 total: 12516 size: 16: where: UAVO-connectObj
238 total: 12532 size: 16: where: UAVO-connectObj
239 total: 12564 size: 32: where: eventPeriodCreate
240 total: 12596 size: 32: where: eventPeriodCreate
241 total: 12612 size: 16: where: UAVO-connectObj
242 total: 12628 size: 16: where: UAVO-connectObj
243 total: 12660 size: 32: where: eventPeriodCreate
244 total: 12692 size: 32: where: eventPeriodCreate
245 total: 12708 size: 16: where: UAVO-connectObj
246 total: 12724 size: 16: where: UAVO-connectObj
247 total: 12756 size: 32: where: eventPeriodCreate
248 total: 12788 size: 32: where: eventPeriodCreate
249 total: 12804 size: 16: where: UAVO-connectObj
250 total: 12820 size: 16: where: UAVO-connectObj
251 total: 12852 size: 32: where: eventPeriodCreate
252 total: 12884 size: 32: where: eventPeriodCreate
253 total: 12900 size: 16: where: UAVO-connectObj
254 total: 12916 size: 16: where: UAVO-connectObj
255 total: 12948 size: 32: where: eventPeriodCreate
256 total: 12980 size: 32: where: eventPeriodCreate
257 total: 12996 size: 16: where: UAVO-connectObj
258 total: 13012 size: 16: where: UAVO-connectObj
259 total: 13044 size: 32: where: eventPeriodCreate
260 total: 13076 size: 32: where: eventPeriodCreate
261 total: 13092 size: 16: where: UAVO-connectObj
262 total: 13108 size: 16: where: UAVO-connectObj
263 total: 13176 size: 68: where: TCB
264 total: 13736 size: 560: where: TaskStack-RadioTx
265 total: 13804 size: 68: where: TCB
266 total: 14212 size: 408: where: TaskStack-RadioRx
267 total: 14468 size: 256: where: flight/modules/System/systemmod.c
268 total: 14536 size: 68: where: TCB
269 total: 15584 size: 1048: where: TaskStack-DelayedCallback
Combined:
count: 8 size: 4: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
count: 1 size: 8: where: flight/pios/stm32f10x/pios_servo.c
count: 1 size: 8: where: flight/pios/stm32f10x/pios_usb.c
count: 2 size: 8: where: CreateInstance-AccessoryDesired
count: 1 size: 12: where: flight/libraries/sanitycheck.c
count: 1 size: 12: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
count: 1 size: 12: where: flight/pios/common/pios_rcvr.c
count: 1 size: 12: where: flight/targets/boards/coptercontrol/firmware/pios_board.c
count: 1 size: 16: where: flight/modules/Attitude/attitude.c
count: 1 size: 16: where: flight/pios/common/pios_mpu6000.c
count: 2 size: 16: where: flight/pios/stm32f10x/pios_spi.c
count: 87 size: 16: where: UAVO-connectObj
count: 1 size: 20: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
count: 1 size: 20: where: flight/pios/common/pios_flash_jedec.c
count: 1 size: 24: where: flight/pios/common/pios_flashfs_logfs.c
count: 1 size: 24: where: flight/pios/common/pios_mpu6000.c
count: 1 size: 28: where: flight/pios/stm32f10x/pios_usart.c
count: 1 size: 28: where: UAVO-MPUGyroAccelSettings
count: 1 size: 28: where: UAVO-ReceiverActivity
count: 1 size: 28: where: UAVO-ReceiverStatus
count: 1 size: 32: where: flight/targets/boards/coptercontrol/firmware/pios_board.c
count: 1 size: 32: where: UAVO-FlightStatus
count: 1 size: 32: where: UAVO-StabilizationStatus
count: 67 size: 32: where: eventPeriodCreate
count: 1 size: 36: where: UAVO-AccelState
count: 1 size: 36: where: UAVO-AccessoryDesired
count: 1 size: 36: where: UAVO-GyroState
count: 1 size: 36: where: UAVO-ObjectPersistence
count: 1 size: 40: where: UAVO-RateDesired
count: 4 size: 40: where: flight/pios/common/pios_callbackscheduler.c
count: 1 size: 44: where: UAVO-StabilizationDesired
count: 1 size: 48: where: flight/pios/common/pios_callbackscheduler.c
count: 1 size: 48: where: UAVO-ActuatorDesired
count: 1 size: 52: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
count: 1 size: 52: where: UAVO-AttitudeState
count: 1 size: 52: where: UAVO-SystemAlarms
count: 2 size: 52: where: flight/pios/common/pios_com.c
count: 1 size: 56: where: UAVO-ActuatorCommand
count: 1 size: 60: where: UAVO-SystemStats
count: 1 size: 64: where: UAVO-FlightTelemetryStats
count: 1 size: 64: where: UAVO-GCSTelemetryStats
count: 1 size: 64: where: UAVO-HwSettings
count: 1 size: 68: where: UAVO-ManualControlCommand
count: 2 size: 68: where: flight/targets/boards/coptercontrol/firmware/pios_board.c
count: 8 size: 68: where: TCB
count: 1 size: 72: where: UAVO-AttitudeSettings
count: 1 size: 72: where: UAVO-SystemSettings
count: 22 size: 76: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
count: 1 size: 84: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
count: 1 size: 88: where: flight/pios/common/pios_task_monitor.c
count: 1 size: 92: where: UAVO-FlightModeSettings
count: 1 size: 108: where: flight/uavtalk/uavtalk.c
count: 1 size: 112: where: flight/pios/stm32f10x/pios_pwm.c
count: 1 size: 116: where: UAVO-AccelGyroSettings
count: 1 size: 136: where: UAVO-StabilizationSettings
count: 1 size: 144: where: UAVO-ActuatorSettings
count: 1 size: 148: where: UAVO-FirmwareIAPObj
count: 1 size: 152: where: UAVO-ManualControlSettings
count: 1 size: 156: where: UAVO-MixerSettings
count: 1 size: 164: where: flight/pios/stm32f10x/pios_usb_hid.c
count: 1 size: 168: where: UAVO-StabilizationBank
count: 1 size: 168: where: UAVO-StabilizationSettingsBank1
count: 1 size: 168: where: UAVO-StabilizationSettingsBank2
count: 1 size: 168: where: UAVO-StabilizationSettingsBank3
count: 1 size: 192: where: TaskStack-IDLE
count: 1 size: 204: where: flight/pios/common/libraries/FreeRTOS//Source/queue.c
count: 2 size: 232: where: flight/uavtalk/uavtalk.c
count: 1 size: 256: where: flight/modules/System/systemmod.c
count: 1 size: 408: where: TaskStack-RadioRx
count: 1 size: 544: where: TaskStack-Attitude
count: 1 size: 560: where: TaskStack-RadioTx
count: 1 size: 624: where: TaskStack-Receiver
count: 1 size: 664: where: TaskStack-System
count: 1 size: 824: where: TaskStack-Actuator
count: 1 size: 1048: where: TaskStack-DelayedCallback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment