Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » C++ project - analyze code size in my project
C++ project - analyze code size in my project [message #1818392] Fri, 13 December 2019 17:18 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, and I am not using any libraries (implementing everything from scratch).
My development platform is windows.

Currently, I am using the nm command, but it is very annoying to work with it.

My questions: 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 17:20]

Report message to a moderator

Re: C++ project - analyze code size in my project [message #1818397 is a reply to message #1818392] Sat, 14 December 2019 01:30 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Have you tried the size command?
https://superuser.com/a/80352

This is off-topic for this forum.
It depends on the compiler used and has nothing to do with CDT.
Previous Topic: Setting the correct build configuration
Next Topic:How to run automatically compiled .exe in external console (cmd.exe)
Goto Forum:
  


Current Time: Sat Oct 19 19:06:34 GMT 2024

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

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

Back to the top