Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.c @ 131:395f58384a5c
dot output
| author | Nina Engelhardt |
|---|---|
| date | Thu, 15 Sep 2011 17:31:33 +0200 |
| parents | 5475f90c248a |
| children | aefd87f9d12f d7c0c0a8187a |
line diff
1.1 --- a/VMS.c Wed Sep 07 13:26:30 2011 +0200 1.2 +++ b/VMS.c Thu Sep 15 17:31:33 2011 +0200 1.3 @@ -192,6 +192,8 @@ 1.4 #endif 1.5 1.6 #ifdef MEAS__PERF_COUNTERS 1.7 + _VMSMasterEnv->counter_history = VMS__malloc(10*sizeof(void*)); 1.8 + _VMSMasterEnv->counter_history_array_info = makePrivDynArrayInfoFrom((void***)&(_VMSMasterEnv->counter_history),10); 1.9 //printf("Creating HW counters..."); 1.10 FILE* output; 1.11 int n; 1.12 @@ -797,7 +799,8 @@ 1.13 if(output!=NULL){ 1.14 set_dependency_file(output); 1.15 fprintf(output,"digraph Dependencies {\n"); 1.16 - 1.17 + set_dot_file(output); 1.18 + forAllInDynArrayDo(_VMSMasterEnv->counter_history_array_info, &print_dot_node_info ); 1.19 forAllInDynArrayDo( _VMSMasterEnv->dependenciesInfo, &print_dependency_to_file ); 1.20 fprintf(output,"}\n"); 1.21 } else
