Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
changeset 165:fe3ff53b55a6 perf_counters
initialization of unused fields in 1st VP task
| author | Nina Engelhardt |
|---|---|
| date | Wed, 28 Sep 2011 14:58:41 +0200 |
| parents | 6b629059c7ab |
| children | aefd87f9d12f |
| files | Counters/run_graph.py ProcrContext.c |
| diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/Counters/run_graph.py Thu Sep 15 18:54:18 2011 +0200 1.2 +++ b/Counters/run_graph.py Wed Sep 28 14:58:41 2011 +0200 1.3 @@ -70,5 +70,6 @@ 1.4 1.5 for node in cr: 1.6 dependencygraph.add_node_attribute(node,('color','red')) 1.7 + dependencygraph.add_node_attribute(node,('style','bold')) 1.8 1.9 print write(dependencygraph)
2.1 --- a/ProcrContext.c Thu Sep 15 18:54:18 2011 +0200 2.2 +++ b/ProcrContext.c Wed Sep 28 14:58:41 2011 +0200 2.3 @@ -66,6 +66,10 @@ 2.4 newRecord->task_position = 0; 2.5 newRecord->vp_id = newPr->procrID; 2.6 newRecord->addr_of_libcall_for_req = fnPtr; 2.7 + newRecord->sc_done_cycles = 0; 2.8 + newRecord->sc_done_instrs = 0; 2.9 + newRecord->req_cycles = 0; 2.10 + newRecord->req_instrs = 0; 2.11 addToDynArray( (void*) newRecord, newPr->counter_history_array_info); 2.12 #endif 2.13 //========================================================================
