[win] profile question

new topic     » topic index » view thread      » older message » newer message

Hey all,

I have the following profile snippet, which i don't understand:

|-----------------------------------------------------------------------------------
       |
       |function ServerNeedsAttention(object sock)
358609 | if tcp4u_is_data_avail(sock)
     6 |   then return(1)
       |   else return(0)
       | end if
       |end function -- ServerNeedsAttention()
     

This tells me that tcp4u_is_data_avail(sock) was executed 358609 times, 
but the program flow exited the procedure thru one of the two "return"s only 6 
times!! How did this happen?? This is not an event driven program, and it 
runs properly until i press 'Q' and it aborts and prints a screen msg that it's 
writing the .pro file.

Kat

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu