Nephazz
Junior Member level 1
Hey hey,
my current project is to write software with VisualC++ 2008 for a QuadCore PC running WinXP. I know that it's a bad choice but I have literally no experience with Linux. I only have 4 month time left and I have to deliver some sort of GUI. So Linux is not an option.
My software receives a constant data stream of about 20 MB/s via USB. If I don't grab the data fast enough the source has to stop producing data, which is bad obv. Another aim is to not only receive data in realtime but also to evaluate and display it in realtime.
So my current plan is to use one core for USB receiving and the three others for data evaluation. GUI handling and for Windows. After some research on the net I tend to use the TBB or boost.org library. Unfortunatly I can't find functions in them to guarantee CPU time or to bind a CPU completly to a task. The USB task doesn't need much speed since it only grabs data and stores it away. But it DOES need a high rate of availability. Ideally I'd like to have real interrupt behavior.
How can I guarantee CPU time to my USB task, or can I even bind a CPU to exclusivly work on this task? Is TBB usable for it or can you recommend other tech?
my current project is to write software with VisualC++ 2008 for a QuadCore PC running WinXP. I know that it's a bad choice but I have literally no experience with Linux. I only have 4 month time left and I have to deliver some sort of GUI. So Linux is not an option.
My software receives a constant data stream of about 20 MB/s via USB. If I don't grab the data fast enough the source has to stop producing data, which is bad obv. Another aim is to not only receive data in realtime but also to evaluate and display it in realtime.
So my current plan is to use one core for USB receiving and the three others for data evaluation. GUI handling and for Windows. After some research on the net I tend to use the TBB or boost.org library. Unfortunatly I can't find functions in them to guarantee CPU time or to bind a CPU completly to a task. The USB task doesn't need much speed since it only grabs data and stores it away. But it DOES need a high rate of availability. Ideally I'd like to have real interrupt behavior.
How can I guarantee CPU time to my USB task, or can I even bind a CPU to exclusivly work on this task? Is TBB usable for it or can you recommend other tech?