Ignore:
Timestamp:
05/30/05 10:54:38 (18 years ago)
Author:
bastiaans
Message:

toga/conf.php, toga/libtoga.php:

  • Will now use a 'J' marking for all nodes with a running job Not depending on number of cpus in use anymore

toga/overview.php:

  • Fixed makeTime()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/toga/libtoga.php

    r114 r115  
    391391
    392392                global $SMALL_CLUSTERIMAGE_NODEWIDTH, $JOB_NODE_MARKING_ALLCPUS, $JOB_NODE_MARKING_SINGLECPU;
     393                global $JOB_NODE_MARKING;
    393394
    394395                $this->load = $this->determineLoad();
     
    417418
    418419                if( count( $this->jobs ) > 0 )
    419 
    420                         if( $this->tasks < $this->cpus )
    421                                 $node_mark = $JOB_NODE_MARKING_SINGLECPU;
    422 
    423                         else if( $this->tasks == $this->cpus )
    424                                 $node_mark = $JOB_NODE_MARKING_ALLCPUS;
     420                        $node_mark = $JOB_NODE_MARKING;
     421
     422                //      if( $this->tasks < $this->cpus )
     423                //              $node_mark = $JOB_NODE_MARKING_SINGLECPU;
     424
     425                //      else if( $this->tasks == $this->cpus )
     426                //              $node_mark = $JOB_NODE_MARKING_ALLCPUS;
    425427
    426428                if( $node_mark )
Note: See TracChangeset for help on using the changeset viewer.