comparison dependency.c @ 47:23bcca1c3687

added units to plugin ucc recording
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Tue, 20 Dec 2011 14:42:56 +0100
parents bde026832af7
children 593fe0543a22
comparison
equal deleted inserted replaced
1:3352be06b83b 2:3f7c27f1089c
28 28
29 void print_dependency_to_file(void* _dep){ 29 void print_dependency_to_file(void* _dep){
30 Dependency* dep = (Dependency*) _dep; 30 Dependency* dep = (Dependency*) _dep;
31 fprintf(dependency_file,"VP_%d_%d -> VP_%d_%d;\n",dep->from_vp,dep->from_task,dep->to_vp,dep->to_task); 31 fprintf(dependency_file,"VP_%d_%d -> VP_%d_%d;\n",dep->from_vp,dep->from_task,dep->to_vp,dep->to_task);
32 } 32 }
33
34 void print_unit_to_file(void* _unit){
35 Unit* unit = (Unit*) _unit;
36 fprintf(dependency_file,"unit,%d,%d\n",unit->vp,unit->task);
37 }