Results 1 to 7 of 7
  1. #1
    2potatocakes is offline Member
    Join Date
    Sep 2008
    Posts
    43
    Rep Power
    0

    Question Is it possible to prioritise CPU power in java?

    Hi guys,

    I'm writing a program that will automatically run when a screen saver is loaded. Problem is, I'm trying to make it as CPU intensive as I can, because its a program that just crams out calculations.

    I'm wondering if any knows anywhere I can find information about how to draw out as much CPU power as possible. Or even if there's a way of temporarily pausing all unnecessary programs while mine runs or something along those lines? I don't want to have to do it manually everytime, I need my program to implement it itself.

    Let me know if you can help! Thanks!!

    Lucas;)

  2. #2
    ojn
    ojn is offline Senior Member
    Join Date
    Aug 2008
    Location
    Stockholm, Sweden
    Posts
    119
    Rep Power
    0

  3. #3
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default Don't cross post

    Don't cross post your questions on different forums... it just angers people and you don't get the support you were looking for. Select a forum and stick with it. If it's the wrong forum, people will let you know.
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  4. #4
    2potatocakes is offline Member
    Join Date
    Sep 2008
    Posts
    43
    Rep Power
    0

    Default

    There's worse things in the world to get angry about guys..

    My apologies for putting it in both the beginners and advanced section, I'm new here and just thought it'd reach a larger audience as I didn't think there'd be many people that could help with me with this one. Do either of you actually have any suggestions about the question I posted though?

    If not, take a chill pill and ignore it. But to keep yas happy, I've removed the one from the advanced section, so that no more tears will be shed..

    peace!

  5. #5
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default

    Sounds like an OS specific problem. Java is supposed to be independent of OS, so you'll need some JNI code to get at the OS stuff.

  6. #6
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    7

    Default

    I agree with Norm... this is OS & HW specific. The only thing that I could find was the following:
    http://cs.gmu.edu/~hfoxwell/Chap6notes.pdf
    Don't know if it will help.
    CJSL

    PS: I'm not angry... just letting you know what is expected when using the forum. No need for a chill pill :)
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  7. #7
    ojn
    ojn is offline Senior Member
    Join Date
    Aug 2008
    Location
    Stockholm, Sweden
    Posts
    119
    Rep Power
    0

    Default

    My apologies for putting it in both the beginners and advanced section, I'm new here and just thought it'd reach a larger audience
    The only thing this does is cause frustration, because people will spend a lot of time trying to help you, only to find out someone beat them to it somewhere else. Therefor wasting their time for nothing.

    That - and at the same time being ignorant - will make it impossible for you to get assistance whatsoever in the future.

Similar Threads

  1. [SOLVED] Is it possible to prioritise CPU power in java?
    By 2potatocakes in forum Advanced Java
    Replies: 0
    Last Post: 10-14-2008, 03:56 PM
  2. Power of Java
    By jeffranc in forum JDBC
    Replies: 5
    Last Post: 09-05-2008, 07:14 AM
  3. Power*MatchMaker 0.9.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 11-17-2007, 02:05 PM
  4. Power*Architect 0.9.7
    By levent in forum Java Software
    Replies: 0
    Last Post: 07-31-2007, 06:52 PM
  5. Power*Architect 0.9.6
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-07-2007, 02:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •