Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
changeset 113:43ea731da94e perf_counters
.dat->.csv
| author | Nina Engelhardt |
|---|---|
| date | Wed, 17 Aug 2011 11:46:05 +0200 |
| parents | fac1d896f6e9 |
| children | 73fc5aafbe45 |
| files | Counters/Counters.c VMS.c |
| diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/Counters/Counters.c Mon Aug 15 18:54:19 2011 +0200 1.2 +++ b/Counters/Counters.c Wed Aug 17 11:46:05 2011 +0200 1.3 @@ -28,7 +28,7 @@ 1.4 } 1.5 1.6 void print_record_csv_to_file(CounterRecord* record, FILE* file) { 1.7 - //Columns are VP,ret_addr, (core,cycles,instrs)* for each savepoint, blocked,unblocked 1.8 + //Columns are VP,task,ret_addr, (core,cycles,instrs)* for each savepoint, blocked,unblocked 1.9 fprintf(file,"%d,%d,%p,",record->vp_id,record->task_position,record->addr_of_libcall_for_req); 1.10 fprintf(file,"%d,%lu,%lu,",record->req_core,record->sc_done_cycles,record->sc_done_instrs); 1.11 fprintf(file,"%d,%lu,%lu,",record->assigning_core,record->start_assign_cycles,record->start_assign_instrs);
2.1 --- a/VMS.c Mon Aug 15 18:54:19 2011 +0200 2.2 +++ b/VMS.c Wed Aug 17 11:46:05 2011 +0200 2.3 @@ -193,7 +193,7 @@ 2.4 char filename[255]; 2.5 for(n=0;n<255;n++) 2.6 { 2.7 - sprintf(filename, "./counters/Counters.%d.dat",n); 2.8 + sprintf(filename, "./counters/Counters.%d.csv",n); 2.9 output = fopen(filename,"r"); 2.10 if(output) 2.11 {
