Results 1 to 3 of 3

Thread: CPU-Control

  1. #1

    CPU-Control

    hello
    can someone imagine how could we benefit from running thinbasic on the second core ? , i have found a program called cpu-control from:
    http://www.koma-code.de/index.php?op...d=88&Itemid=93
    it claims that we can choose which core to run some application, as in the attached picture, on the other hand i hope windows 7 are automatically distribute tasks fairly between the multiple cores if available.
    windows xp sp2 are not aware by itself of the multi-core systems
    regards

  2. #2

    Re: CPU-Control

    attached a picture
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	cpu-control.JPG 
Views:	78 
Size:	57.4 KB 
ID:	5409  

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    51
    Posts
    8,321
    Blog Entries
    2
    Rep Power
    10

    Re: CPU-Control

    There are some WIN API that can be sued to get/set affinity:
    GetProcessAffinityMask at http://msdn.microsoft.com/en-us/library/ms683213(VS.85).aspx
    SetProcessAffinityMask at http://msdn.microsoft.com/en-us/library/ms686223(VS.85).aspx

    Also worth to check carefully "Process Security and Access Rights" at http://msdn.microsoft.com/en-us/library/ms684880(VS.85).aspx

    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Posting Permissions

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