Hello All,
   Awhile back I wrote about my interesting in improving network
support in OpenSceneGraph. The other day I modified the .net plugin to
use persistent connections (instead of using a new socket on every
retry). A quick test lets me estimate that I'm getting a 1.5x speedup
over the original plugin.

Now I'm trying to figure out how best to get statistics out of the
.net plugin and into my host program about how many requests are being
served per second or better yet how many bytes/second are being
transfered on average. What I'm not quite sure of is how  best to
return these statistics from the .net plugin to my main program.

The two ideas I've come up with so far both seem like hacks. The first
is an ugly global variable ... something that I would really like to
avoid.

The second idea was to modify the ReadResult class in ReaderWriter to
store these statistics so that every read from the .net plugin will
have some additional data about global statistics. This is what I will
most likely do in the absence of other ideas.

Is there a better way to do this?

Cheers!
Aaron
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to