Changeset 925


Ignore:
Timestamp:
08/14/13 16:26:05 (11 years ago)
Author:
sdipsl
Message:

Add IGCM_sys_Put_Out and IGCM_sys_PutBuffer_Out to the instrumented functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh

    r924 r925  
    300300 
    301301    case ${command} in 
     302    # Classical copy (only files are given to IGCM_sys_Cp as options) 
     303    IGCM_sys_Cp) 
     304      instrumentation=true 
     305      # All but the latest 
     306      fileList=${arguments[*]:0:${#arguments[*]}-1} 
     307      # just need the first file to get the directory 
     308      source=${arguments[0]} 
     309      # Nothing but the latest 
     310      dest=${arguments[${#arguments[*]}-1]} 
     311      # Size of file whose name are stored in a list 
     312      entitySize=$( IGCM_debug_sizeOfTabContent fileList ${dest} ) 
     313      ;; 
     314 
    302315    # Copy from archive machine or from buffer 
    303316    IGCM_sys_Get|IGCM_sys_GetBuffer) 
     
    328341      ;; 
    329342 
    330     # Classical copy (only files are given to IGCM_sys_Cp as options) 
    331     IGCM_sys_Cp) 
    332       instrumentation=true 
    333       # All but the latest 
    334       fileList=${arguments[*]:0:${#arguments[*]}-1} 
    335       # just need the first file to get the directory 
    336       source=${arguments[0]} 
    337       # Nothing but the latest 
    338       dest=${arguments[${#arguments[*]}-1]} 
    339       # Size of file whose name are stored in a list 
    340       entitySize=$( IGCM_debug_sizeOfTabContent fileList ${dest} ) 
    341       ;; 
    342  
    343     # Copy from compute node 
    344     IGCM_sys_Get_Master|IGCM_sys_Get_Dir) 
     343    # Copy from compute node or copy to archive/buffer 
     344    IGCM_sys_Get_Master|IGCM_sys_Get_Dir|IGCM_sys_Put_Out|IGCM_sys_PutBuffer_Out) 
    345345      instrumentation=true 
    346346      source=${arguments[0]} 
Note: See TracChangeset for help on using the changeset viewer.