Commit 640d11e
[algorithm] Add AdvancedTimer calls for profiling in hot stages of the algorithm (#99)
* [algorithm] Remove projection operation on tip in the InsertionAlgorithm- completely unnecessary
* [algorithm] Changed FindClosestProximityAlgorithm to find the closest proximity back on the from geometry
* [algorithm] Auto-format code
* [algorithm] Rewrite some comments
* [algorithm] Place shared operations at the top
* [algorithm] Add a bool to enable/disable the puncture sequence
* [algorithm] Add a bool to enable/disable insertion sequence
* [algorithm] Add a bool to enable/disable shaft collision sequence
* [algorithm] auto format code
* [algorithm] Absorb the FindClosestProximity for shaft collision
* [algorithm] Add an experimental component in the algorithm
* [algorithm] Remove FindClosestProximityAlgorithm
* [cmake] Remove FindClosestProximityAlgorithm from CMakeLists
* [algorithm] Make sanity checks happen only when appropriate for some data
* [algorithm] Place geometry checks in InsertionAlgorithm when they make sense
* [timer] Add the name of the AABBBroadPhase component during profiling
* [timer] Add a timer to the doDetection function
* [timer] Add a timer inside the doUpdate broadphase function
* [timer] Add advanced timers in the InsertionAlgorithm
---------
Co-authored-by: epernod <erik.pernod@gmail.com>1 parent aa7174d commit 640d11e
File tree
3 files changed
+22
-12
lines changed- src/CollisionAlgorithm
- algorithm
3 files changed
+22
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | | - | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
72 | 70 | | |
73 | | - | |
| 71 | + | |
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| 190 | + | |
188 | 191 | | |
189 | 192 | | |
| 193 | + | |
| 194 | + | |
190 | 195 | | |
191 | 196 | | |
192 | 197 | | |
| |||
220 | 225 | | |
221 | 226 | | |
222 | 227 | | |
| 228 | + | |
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
226 | 232 | | |
| 233 | + | |
| 234 | + | |
227 | 235 | | |
228 | 236 | | |
229 | 237 | | |
| |||
322 | 330 | | |
323 | 331 | | |
324 | 332 | | |
| 333 | + | |
325 | 334 | | |
326 | 335 | | |
| 336 | + | |
| 337 | + | |
327 | 338 | | |
328 | 339 | | |
329 | 340 | | |
| |||
343 | 354 | | |
344 | 355 | | |
345 | 356 | | |
| 357 | + | |
346 | 358 | | |
347 | 359 | | |
348 | 360 | | |
| |||
0 commit comments