Home | Tutorials | Wiki | Issues
Ask Your Question
0

Way to avoid gazebo calling gettimeofday so much?

asked 2012-11-28 18:46:38 -0500

asomerville gravatar image

updated 2012-11-28 19:14:27 -0500

After having performance problems I ran sysprof along side gazebo and noticed that > 40% of the cpu resources being used up were for calls to sys_clock_gettime() via gettimeofday() via gazebo::common::Time::GetWallTime()

This seems unusual. Is this an indication that I've something mis-configured? Is there a way to mitigate this?

gazebo-1.2.6

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-11-28 19:15:41 -0500

asomerville gravatar image

Should have googled first. It looks like it's a known and fixed problem in the yet unreleased Gazebo 1.3

https://bitbucket.org/osrf/gazebo/pull-request/48/changing-from-gettimeofday-to/diff

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-11-28 18:46:38 -0500

Seen: 104 times

Last updated: Nov 28 '12