|
-
February 19th, 2013, 11:55 AM
#23
Re: How to reduce high CPU usage caused by receiver thread of CAN messages?
 Originally Posted by Codeplug
>> yes that code has the same CPU usage.
How did you confirm that it is the Rcv_Msg() thread that is actually using the CPU? What are the other threads in the application doing?
>> The Vectors XL driver library for the old code worked well.
Same version of library? Same hardware setup? Using CAN functions? What are the differences between new and old?
gg
[QUOTE] How did you confirm that it is the Rcv_Msg() thread that is actually using the CPU? What are the other threads in the application doing?
I have used Procexp to see what all threads are running and how much CPU each thread is consuming.I have seen other threads are using around<1% of CPU.
Same version of library? Same hardware setup? Using CAN functions? What are the differences between new and old?
Yes they have used the same version of library and hardware setup.Few CAN functions differed.They have implemented the CANDll with in the code.But I have implemented the CANDll separately.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|