[ENet-discuss] CPU Usage

Jay Sprenkle jsprenkle at gmail.com
Sun Sep 26 20:59:50 PDT 2010


You have the source code for enet.
I would look at enet_host_service() and see if there's anything obvious.
You might also try profiling the code. It may be you can't see what's wrong
because you're looking in the wrong place.
I do that frequently.

On Sun, Sep 26, 2010 at 7:01 PM, Nicholas J Ingrassellino <
nick at lifebloodnetworks.com> wrote:

>  Sorry, I should have explained the non-ENet functions. rest(1) is one
> millisecond (of course on Windows it is really five milliseconds). blit() is
> for drawing the screen (in this case the pixel data I have received so far).
> I think the rest are pretty self explanatory.
>
> As I said, I got it working great when I removed ENet (and only ENet/did
> not change anything else).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20100926/2bf04c74/attachment.html>


More information about the ENet-discuss mailing list