-
Notifications
You must be signed in to change notification settings - Fork 498
Gazebo 9 profiler - take 2 #2813
Gazebo 9 profiler - take 2 #2813
Conversation
* Added profiler to OdePhysics, sensors and some plugins Signed-off-by: ahcorde <ahcorde@gmail.com> * Added profiler to Physic engines: Bullet, DART and Simbody Signed-off-by: ahcorde <ahcorde@gmail.com> * Added profiler to plugins Signed-off-by: ahcorde <ahcorde@gmail.com> * Added more models to profiler.world Signed-off-by: ahcorde <ahcorde@gmail.com> * Add missing ; Signed-off-by: ahcorde <ahcorde@gmail.com> * Added option ENABLE_PROFILER to cmake Signed-off-by: ahcorde <ahcorde@gmail.com> * Used the same convention in all profiler calls Signed-off-by: ahcorde <ahcorde@gmail.com> * Added profiler to Event.hh Signed-off-by: ahcorde <ahcorde@gmail.com> * Fixed gazebo_common link against ignition_common Signed-off-by: ahcorde <ahcorde@gmail.com> * Added condition to use -fvisibility=hidden when profiler is disabled Signed-off-by: ahcorde <ahcorde@gmail.com> * make linters happy Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
…ix windows build Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works for me, just a few minor comments. One thing I noticed is that if I don't specify -DENABLE_PROFILER
, I get a couple of linker errors:
libgazebo.so.9.13.2: undefined reference to `gazebo::common::Profiler::~Profiler()'
libgazebo.so.9.13.2: undefined reference to `gazebo::common::Profiler::Profiler()'
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Fixed the linker errors on 0afd239. The profiler should always be compiled, the difference is whether the macros are actual functions or just void. |
latest changes look good to me. The gpu-nvidia build failed due to internal compiler error so likely a false positive but the abi-check build has an error about compiling header. Maybe worth trying a rebuild |
@osrf-jenkins run tests please |
Since we're not installing |
Signed-off-by: Louise Poubel <louise@openrobotics.org>
The Examples_build test failed. Looks like we also need to remove the header and macros from the examples. |
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Argh, I had to remove the profiler from |
Signed-off-by: Louise Poubel <louise@openrobotics.org>
windows build passed :) |
This builds on top of #2783 and includes the changes I suggested on that PR:
gazebo::common
(which is analogous toignition::common
)GZ_
so there can't be a collision with Ignitiongz_remotery_vis
I'm targeting
gazebo9
because I think the diff becomes clearer this way.