Re: on profiling, multithreading, and file I/O.

2000-01-27 Thread teunis

On Thu, 27 Jan 2000, Paul Duran wrote:

 On Wed, Jan 26, 2000 at 11:34:00PM -0700, teunis wrote:
 [snip]
 
  
  Using a socketpair takes ~17000 milliseconds just to poll(..) to see if
  there's data.  Is there a better way?
  I -need- to shave this ~17000 milliseconds off!
 
 17000 milliseconds = 17 seconds... are you sure you dont mean microseconds?
 same for above and below??

Right, sorry.  Read microseconds... *sigh*

Sorry 'bout that.  It's still slow.

G'day, eh? :)
- Teunis



Re: on profiling, multithreading, and file I/O.

2000-01-26 Thread Paul Duran

On Wed, Jan 26, 2000 at 11:34:00PM -0700, teunis wrote:
[snip]

 
 Using a socketpair takes ~17000 milliseconds just to poll(..) to see if
 there's data.  Is there a better way?
 I -need- to shave this ~17000 milliseconds off!

17000 milliseconds = 17 seconds... are you sure you dont mean microseconds?
same for above and below??

 
[snip]

 
 incidentally: (seperate threads)
   sound playing: ~750us/frame
   video rendering: ~7000us/frame unscaled; ~12000us/frame scaled
 

Rgds,
Paul