Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » C++ project - get code size of functions(C++ project - get code size of functions)
C++ project - get code size of functions [message #1818361] Fri, 13 December 2019 10:27 Go to next message
ofer rozentsvaig is currently offline ofer rozentsvaigFriend
Messages: 5
Registered: January 2015
Junior Member
Hi,

I am working on a project where available memory is an issue.
I have only ~100Kb of available space.
As such I am trying to write code as efficiently as possible.
My development platform is windows.

Currently, I am using the nm command, but it is very annoying to work with it.
Is there any tool (or plugin) that allows me to analyze the code size of different methods in my project and find bottlenecks (huge problematic methods)?
It will also be an advantage if it will tell me about vtable sizes, text and data information for different classes.

Thanks,
Ofer

[Updated on: Fri, 13 December 2019 10:43]

Report message to a moderator

Re: C++ project - get code size of functions [message #1818366 is a reply to message #1818361] Fri, 13 December 2019 11:05 Go to previous messageGo to next message
Emmanuel Chebbi is currently offline Emmanuel ChebbiFriend
Messages: 123
Registered: February 2018
Senior Member
Hi,

The Linux Tools Project seems to provide utilities to profile a C/C++ application but I am not a user of it. You'd better ask on the Linux Tools Project forum or the CDT forum for more information.
Re: C++ project - get code size of functions [message #1818368 is a reply to message #1818366] Fri, 13 December 2019 11:48 Go to previous messageGo to next message
ofer rozentsvaig is currently offline ofer rozentsvaigFriend
Messages: 5
Registered: January 2015
Junior Member
The issue is that my development is done on windows.
Re: C++ project - get code size of functions [message #1818370 is a reply to message #1818368] Fri, 13 December 2019 12:35 Go to previous messageGo to next message
Emmanuel Chebbi is currently offline Emmanuel ChebbiFriend
Messages: 123
Registered: February 2018
Senior Member
My bad, I missed that. But since your question specifically targets C/C++ development I still advise you to ask on the CDT forum as you'll be more likely to reach people with the same concerns as you.
Re: C++ project - get code size of functions [message #1818391 is a reply to message #1818370] Fri, 13 December 2019 17:15 Go to previous message
ofer rozentsvaig is currently offline ofer rozentsvaigFriend
Messages: 5
Registered: January 2015
Junior Member
Thanks.

I will re-post in the CDT forum.
This post can be deleted.

Ofer
Previous Topic:Javascript Project
Next Topic:First Time Downloading Eclipse Photon on Mac - Trying to Run Java 64-bit
Goto Forum:
  


Current Time: Fri Apr 26 16:25:46 GMT 2024

Powered by FUDForum. Page generated in 0.08732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top