D
Daniel Pitts
I have a program I'm working on (a ray tracer to be exact) that uses
multiple threads to do the hard work.
According to windows task manager, I'm only utilizing around 50%(±10%)of
my CPU power.
This makes me think that either I'm spending too much time synchronizing
(darn), or I'm only using one CPU.
Anyone have suggestions on which it is? I'm using a BlockingDeque to
pass my work load off to worker threads, and I thought that wouldn't
have a lot of synch cost to it.
multiple threads to do the hard work.
According to windows task manager, I'm only utilizing around 50%(±10%)of
my CPU power.
This makes me think that either I'm spending too much time synchronizing
(darn), or I'm only using one CPU.
Anyone have suggestions on which it is? I'm using a BlockingDeque to
pass my work load off to worker threads, and I thought that wouldn't
have a lot of synch cost to it.