Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/09 14:34:33 (16 years ago)
Author:
kgrading
Message:

added the "coresNeeded" and made a fallback concerning dynamic plugin loading... (#467)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/3.2/Heartbeat.cs

    r1530 r1755  
    7878      int mb = (int)(counter.NextValue() / 1024 / 1024);
    7979
     80     
    8081
    81         HeartBeatData heartBeatData = new HeartBeatData {
     82      HeartBeatData heartBeatData = new HeartBeatData {
    8283        ClientId = info.Id,
    83         FreeCores = info.NrOfCores - (ClientStatusInfo.JobsFetched - ClientStatusInfo.JobsProcessed),
     84        FreeCores = info.NrOfCores - ConfigManager.Instance.GetUsedCores(),
    8485        FreeMemory = mb,
    8586        JobProgress = ConfigManager.Instance.GetProgressOfAllJobs()
Note: See TracChangeset for help on using the changeset viewer.