Changeset 416


Ignore:
Timestamp:
01/20/13 23:40:11 (10 years ago)
Author:
ymipsl
Message:

add some missing trace in c interface

YM

Location:
XIOS/trunk/src/interface/c_attr
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/interface/c_attr/icaxis_attr.cpp

    r415 r416  
    132132    axis_hdl->value.reference(tmp.copy()); 
    133133    axis_hdl->sendAttributToServer(axis_hdl->value); 
     134     CTimer::get("XIOS").suspend(); 
    134135  } 
    135136   
    136137  void cxios_get_axis_value(axis_Ptr axis_hdl, double* value, int extent1) 
    137138  { 
     139    CTimer::get("XIOS").resume(); 
    138140    CArray<double,1> tmp(value,shape(extent1),neverDeleteData) ; 
    139141    tmp=axis_hdl->value ; 
  • XIOS/trunk/src/interface/c_attr/icaxisgroup_attr.cpp

    r415 r416  
    151151    axisgroup_hdl->value.reference(tmp.copy()); 
    152152    axisgroup_hdl->sendAttributToServer(axisgroup_hdl->value); 
     153     CTimer::get("XIOS").suspend(); 
    153154  } 
    154155   
    155156  void cxios_get_axisgroup_value(axisgroup_Ptr axisgroup_hdl, double* value, int extent1) 
    156157  { 
     158    CTimer::get("XIOS").resume(); 
    157159    CArray<double,1> tmp(value,shape(extent1),neverDeleteData) ; 
    158160    tmp=axisgroup_hdl->value ; 
  • XIOS/trunk/src/interface/c_attr/icdomain_attr.cpp

    r369 r416  
    3737    domain_hdl->data_i_index.reference(tmp.copy()); 
    3838    domain_hdl->sendAttributToServer(domain_hdl->data_i_index); 
     39     CTimer::get("XIOS").suspend(); 
    3940  } 
    4041   
    4142  void cxios_get_domain_data_i_index(domain_Ptr domain_hdl, int* data_i_index, int extent1) 
    4243  { 
     44    CTimer::get("XIOS").resume(); 
    4345    CArray<int,1> tmp(data_i_index,shape(extent1),neverDeleteData) ; 
    4446    tmp=domain_hdl->data_i_index ; 
     
    6769    domain_hdl->data_j_index.reference(tmp.copy()); 
    6870    domain_hdl->sendAttributToServer(domain_hdl->data_j_index); 
     71     CTimer::get("XIOS").suspend(); 
    6972  } 
    7073   
    7174  void cxios_get_domain_data_j_index(domain_Ptr domain_hdl, int* data_j_index, int extent1) 
    7275  { 
     76    CTimer::get("XIOS").resume(); 
    7377    CArray<int,1> tmp(data_j_index,shape(extent1),neverDeleteData) ; 
    7478    tmp=domain_hdl->data_j_index ; 
     
    214218    domain_hdl->latvalue.reference(tmp.copy()); 
    215219    domain_hdl->sendAttributToServer(domain_hdl->latvalue); 
     220     CTimer::get("XIOS").suspend(); 
    216221  } 
    217222   
    218223  void cxios_get_domain_latvalue(domain_Ptr domain_hdl, double* latvalue, int extent1) 
    219224  { 
     225    CTimer::get("XIOS").resume(); 
    220226    CArray<double,1> tmp(latvalue,shape(extent1),neverDeleteData) ; 
    221227    tmp=domain_hdl->latvalue ; 
     
    249255    domain_hdl->lonvalue.reference(tmp.copy()); 
    250256    domain_hdl->sendAttributToServer(domain_hdl->lonvalue); 
     257     CTimer::get("XIOS").suspend(); 
    251258  } 
    252259   
    253260  void cxios_get_domain_lonvalue(domain_Ptr domain_hdl, double* lonvalue, int extent1) 
    254261  { 
     262    CTimer::get("XIOS").resume(); 
    255263    CArray<double,1> tmp(lonvalue,shape(extent1),neverDeleteData) ; 
    256264    tmp=domain_hdl->lonvalue ; 
     
    265273    domain_hdl->mask.reference(tmp.copy()); 
    266274    domain_hdl->sendAttributToServer(domain_hdl->mask); 
     275     CTimer::get("XIOS").suspend(); 
    267276  } 
    268277   
    269278  void cxios_get_domain_mask(domain_Ptr domain_hdl, bool* mask, int extent1, int extent2) 
    270279  { 
     280    CTimer::get("XIOS").resume(); 
    271281    CArray<bool,2> tmp(mask,shape(extent1,extent2),neverDeleteData) ; 
    272282    tmp=domain_hdl->mask ; 
  • XIOS/trunk/src/interface/c_attr/icdomaingroup_attr.cpp

    r369 r416  
    3737    domaingroup_hdl->data_i_index.reference(tmp.copy()); 
    3838    domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_i_index); 
     39     CTimer::get("XIOS").suspend(); 
    3940  } 
    4041   
    4142  void cxios_get_domaingroup_data_i_index(domaingroup_Ptr domaingroup_hdl, int* data_i_index, int extent1) 
    4243  { 
     44    CTimer::get("XIOS").resume(); 
    4345    CArray<int,1> tmp(data_i_index,shape(extent1),neverDeleteData) ; 
    4446    tmp=domaingroup_hdl->data_i_index ; 
     
    6769    domaingroup_hdl->data_j_index.reference(tmp.copy()); 
    6870    domaingroup_hdl->sendAttributToServer(domaingroup_hdl->data_j_index); 
     71     CTimer::get("XIOS").suspend(); 
    6972  } 
    7073   
    7174  void cxios_get_domaingroup_data_j_index(domaingroup_Ptr domaingroup_hdl, int* data_j_index, int extent1) 
    7275  { 
     76    CTimer::get("XIOS").resume(); 
    7377    CArray<int,1> tmp(data_j_index,shape(extent1),neverDeleteData) ; 
    7478    tmp=domaingroup_hdl->data_j_index ; 
     
    233237    domaingroup_hdl->latvalue.reference(tmp.copy()); 
    234238    domaingroup_hdl->sendAttributToServer(domaingroup_hdl->latvalue); 
     239     CTimer::get("XIOS").suspend(); 
    235240  } 
    236241   
    237242  void cxios_get_domaingroup_latvalue(domaingroup_Ptr domaingroup_hdl, double* latvalue, int extent1) 
    238243  { 
     244    CTimer::get("XIOS").resume(); 
    239245    CArray<double,1> tmp(latvalue,shape(extent1),neverDeleteData) ; 
    240246    tmp=domaingroup_hdl->latvalue ; 
     
    268274    domaingroup_hdl->lonvalue.reference(tmp.copy()); 
    269275    domaingroup_hdl->sendAttributToServer(domaingroup_hdl->lonvalue); 
     276     CTimer::get("XIOS").suspend(); 
    270277  } 
    271278   
    272279  void cxios_get_domaingroup_lonvalue(domaingroup_Ptr domaingroup_hdl, double* lonvalue, int extent1) 
    273280  { 
     281    CTimer::get("XIOS").resume(); 
    274282    CArray<double,1> tmp(lonvalue,shape(extent1),neverDeleteData) ; 
    275283    tmp=domaingroup_hdl->lonvalue ; 
     
    284292    domaingroup_hdl->mask.reference(tmp.copy()); 
    285293    domaingroup_hdl->sendAttributToServer(domaingroup_hdl->mask); 
     294     CTimer::get("XIOS").suspend(); 
    286295  } 
    287296   
    288297  void cxios_get_domaingroup_mask(domaingroup_Ptr domaingroup_hdl, bool* mask, int extent1, int extent2) 
    289298  { 
     299    CTimer::get("XIOS").resume(); 
    290300    CArray<bool,2> tmp(mask,shape(extent1,extent2),neverDeleteData) ; 
    291301    tmp=domaingroup_hdl->mask ; 
  • XIOS/trunk/src/interface/c_attr/icgrid_attr.cpp

    r415 r416  
    8080    grid_hdl->mask.reference(tmp.copy()); 
    8181    grid_hdl->sendAttributToServer(grid_hdl->mask); 
     82     CTimer::get("XIOS").suspend(); 
    8283  } 
    8384   
    8485  void cxios_get_grid_mask(grid_Ptr grid_hdl, bool* mask, int extent1, int extent2, int extent3) 
    8586  { 
     87    CTimer::get("XIOS").resume(); 
    8688    CArray<bool,3> tmp(mask,shape(extent1,extent2,extent3),neverDeleteData) ; 
    8789    tmp=grid_hdl->mask ; 
  • XIOS/trunk/src/interface/c_attr/icgridgroup_attr.cpp

    r415 r416  
    9999    gridgroup_hdl->mask.reference(tmp.copy()); 
    100100    gridgroup_hdl->sendAttributToServer(gridgroup_hdl->mask); 
     101     CTimer::get("XIOS").suspend(); 
    101102  } 
    102103   
    103104  void cxios_get_gridgroup_mask(gridgroup_Ptr gridgroup_hdl, bool* mask, int extent1, int extent2, int extent3) 
    104105  { 
     106    CTimer::get("XIOS").resume(); 
    105107    CArray<bool,3> tmp(mask,shape(extent1,extent2,extent3),neverDeleteData) ; 
    106108    tmp=gridgroup_hdl->mask ; 
Note: See TracChangeset for help on using the changeset viewer.