diff ProcrContext.c @ 165:fe3ff53b55a6

initialization of unused fields in 1st VP task
author Nina Engelhardt
date Wed, 28 Sep 2011 14:58:41 +0200
parents ce02441b77cf
children 981acd1db6af
line diff
     1.1 --- a/ProcrContext.c	Thu Sep 15 18:54:18 2011 +0200
     1.2 +++ b/ProcrContext.c	Wed Sep 28 14:58:41 2011 +0200
     1.3 @@ -66,6 +66,10 @@
     1.4     newRecord->task_position = 0;
     1.5     newRecord->vp_id = newPr->procrID;
     1.6     newRecord->addr_of_libcall_for_req = fnPtr;
     1.7 +   newRecord->sc_done_cycles = 0;
     1.8 +   newRecord->sc_done_instrs = 0;
     1.9 +   newRecord->req_cycles = 0;
    1.10 +   newRecord->req_instrs = 0;
    1.11     addToDynArray( (void*) newRecord, newPr->counter_history_array_info);
    1.12     #endif
    1.13     //========================================================================