Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executables in tlsf_cpp #705

Closed
1 task
Yadunund opened this issue Apr 5, 2023 · 3 comments
Closed
1 task

Executables in tlsf_cpp #705

Yadunund opened this issue Apr 5, 2023 · 3 comments

Comments

@Yadunund
Copy link
Member

Yadunund commented Apr 5, 2023

Setup

  • DDS vendor: FastDDS
  • BuildType: Debian
  • Os: Ubuntu Jammy
  • Chip: Amd64

Checks

  • Check tlsf_allocator_example

    details

    Try

    1. # User input in terminal 1
      ros2 run tlsf_cpp tlsf_allocator_example

You can find the code used to generate this test case here

@Kartik9250
Copy link

I would like to work on this ticket

@Kartik9250
Copy link

  • I tried the given command ros2 run tlsf_cpp tlsf_allocator_example.
    The terminal prints out saying that Intra-process pipeline is OFF.

  • Using ros2 run tlsf_cpp tlsf_allocator_example intra, gives out: Intra-process pipeline is ON

  • Not sure if this is all that was needed to be tested. Found some old issue
    so I tried that as well:
    image

    • I also echo-ed the topic and the data iterated till 1912.

  • In case of Intra-process pipeline OFF:
Global new was called 17635 times during spin
Global delete was called 17336 times during spin
Allocator new was called 17238 times during spin
Allocator delete was called 17217 times during spin
  • Whereas in case of Intra-process pipeline ON:
Global new was called 14818 times during spin
Global delete was called 14503 times during spin
Allocator new was called 17235 times during spin
Allocator delete was called 17216 times during spin

@clalancette
Copy link
Collaborator

Yep, this all looks correct. Thank you for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants