Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » RTIMING output makes no sense to me
Re: RTIMING output makes no sense to me [message #39555 is a reply to message #39554] Fri, 29 March 2013 12:18 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
wimpie wrote on Fri, 29 March 2013 06:10

Hello,
pretty new to u++ so posting in newbie corner,

I tried RTIMING macro in some routine and got following output:
TIMING progress-sync  : 400.87 ms - 664.80 us (401.00 ms / 603 ), min:  0.00 ns, max:  9.00 ms, nesting: 1 - 603




It has spent total 400ms in code from RTIMING("progress-sync") till the end of block, and it entered it 603 times at level zero (not by recursion). By simple divide, average time spent there was 664us. Those min/max/nesting values are more or less for RTIMING debugging purposes, you can safely ignore them.

Side note: RTIMING itself takes some small time; for single RTIMING this time is measured and subtracted, but if you have nested RTIMING, it is not and you have to account for it during profiling.

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: compiling issue at Win 7
Next Topic: Is there a way to put U++ code on a DLL?
Goto Forum:
  


Current Time: Sun Aug 24 15:18:07 CEST 2025

Total time taken to generate the page: 0.06129 seconds