Go to Post Just call me conservative. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 12-01-2015, 13:29
matan129 matan129 is offline
Registered User
FRC #4757 (Talos)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2015
Location: Israel
Posts: 19
matan129 is an unknown quantity at this point
Re: Utilizing Both RoboRIO Cores

Quote:
Originally Posted by adciv View Post
Under standard programming procedures, the operating system will automatically load balance between the two cores. You need not do anything.

Under labview, you have the option using (among other things, timed loops) to allocate processes to specific cores. Standard Labview programming is to use while loops which would be allocated automatically to balance.
Actually, the operating system will not balance any program on two cores if you are not using multiple threads, which you should hard code.

Although that if you're talking about Java/C++ WPILib specifically, I think that every command is ran in a different thread, and you also have the "task" class in WPILib which offers a more convenient interface to operate threads.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi