🔒 Locked
Optimize!
Advertisement
Original Post
Does anyone know any programs that help you optimize something in C++? You know like something that tells you how much time you spend on a loop or how long it takes to do a funcion. Anything would be nice, thank you!
Thanks a lot guys!
AMD also have a freely available profiler called CodeAnalyst:
http://www.developwithamd.com/appPartnerProg/codeanalyst/home/index.cfm?action=home
--
Simon O''Connor
3D Game Programmer &
Microsoft DirectX MVP
http://www.developwithamd.com/appPartnerProg/codeanalyst/home/index.cfm?action=home
--
Simon O''Connor
3D Game Programmer &
Microsoft DirectX MVP
quote:
Original post by Wildfire
If you''re using Windows and Visual C++ it''s called ''Profiler''. (Not all version have it though, afaik)
And if you''re using linux with gcc is''t called a profiler also
quote:
And if you''re using linux with gcc is''t called a profiler also . Does matter what compiler/os you''re using, the name of the tool is a profiler.
Yeah, you''re right... the tool is called a profiler. But that doesn''t say it has to be called ''Profiler'' anywhere. I could write a profiler app, and call it ''SpeedAlyser'' if I felt like it, couldn''t I?
If you want to bench very accurately some routines called inside loops, I advise you to use the asm instruction RDTSC (available on most PC CPUs). It's the only way to be one clock cycle precise when you code some extremely strategic asm routines.
[edited by - Charles B on November 29, 2003 12:54:27 PM]
[edited by - Charles B on November 29, 2003 12:54:27 PM]
quote:
Original post by Wildfire
Yeah, you''re right... the tool is called a profiler. But that doesn''t say it has to be called ''Profiler'' anywhere. I could write a profiler app, and call it ''SpeedAlyser'' if I felt like it, couldn''t I?
Yes, but by your own admission, it would still be a profiler, and would therefore most likely be categorized as such wherever it was promoted.
Your opinion is wrong.
Q.E.D.
-ZE
//email me.//zealouselixir software.//msdn.//n00biez.//
miscellaneous links
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement