Changeset 915
- Timestamp:
- 08/12/13 16:01:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_debug/libIGCM_debug.ksh
r914 r915 51 51 # libIGCM_CurrentTag 52 52 # Current libIGCM tag, check compatibilty with *.card 53 typeset -r libIGCM_CurrentTag=" 2.0"53 typeset -r libIGCM_CurrentTag="1.0" 54 54 55 55 #================================================== … … 226 226 if ( $DEBUG_debug ) ; then 227 227 typeset decal command arguments startTime_ms endTime_ms 228 typeset fileList source dest228 typeset instrumentation fileList source dest 229 229 230 230 # INTRODUCE SIMPLE ERROR GENERATOR TO TEST SUPERVISOR … … 272 272 # 4. How long it took 273 273 274 instrumentation=false 275 274 276 case ${command} in 275 277 # Copy from archive machine or from buffer 276 278 IGCM_sys_Get|IGCM_sys_GetBuffer) 279 instrumentation=true 277 280 if [ ${#arguments[*]} -eq 2 ] ; then 278 281 source=${arguments[0]} … … 302 305 # Copy from compute node 303 306 IGCM_sys_Get_Master|IGCM_sys_Get_Dir) 307 instrumentation=true 304 308 if [ ${#arguments[*]} -eq 2 ] ; then 305 309 source=${arguments[0]} … … 312 316 # Rebuild command 313 317 IGCM_sys_rebuild|IGCM_sys_rebuild_station) 318 instrumentation=true 314 319 # All but the first 315 320 fileList=${arguments[*]:1:${#arguments[*]}-1} … … 324 329 325 330 # Print information related to instrumentation 326 IGCM_debug_PrintInfosActions ${command} ${entitySize} ${startTime_ms} ${endTime_ms} ${dest} ${source}331 ( ${instrumentation} ) && IGCM_debug_PrintInfosActions ${command} ${entitySize} ${startTime_ms} ${endTime_ms} ${dest} ${source} 327 332 328 333 # Only cosmetics : stack file
Note: See TracChangeset
for help on using the changeset viewer.