Ignore:
Timestamp:
Apr 3, 2014, 2:02:50 PM (11 years ago)
Author:
alain
Message:

ntroducing the TOTAL_PROCS variable in the hard_config.h file
(used by the synchronisation barrier in kernel_init.c)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_xml/xml_parser.c

    r296 r299  
    108108////////////////////////////////////////////////////////////////////////
    109109
     110unsigned int total_procs      = 0; // total number of processors
    110111unsigned int nb_procs_max     = 0; // max number of processors per cluster
    111112unsigned int nb_tasks_max     = 0; // max number of tasks (in all vspaces)
     
    19321933    proc_loc_index++;
    19331934    proc_index++;
     1935    total_procs++;
    19341936} // end procNode()
    19351937
     
    26842686    file_write(fdout, "\n");
    26852687
     2688    def_int_write(fdout, "TOTAL_PROCS       ", total_procs);
    26862689    def_int_write(fdout, "NB_PROCS_MAX      ", nb_procs_max);
    26872690    def_int_write(fdout, "NB_TASKS_MAX      ", nb_tasks_max);
Note: See TracChangeset for help on using the changeset viewer.