Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
diff 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 |
line diff
1.1 --- a/dependency.c Mon Dec 19 17:15:10 2011 +0100 1.2 +++ b/dependency.c Tue Dec 20 14:42:56 2011 +0100 1.3 @@ -30,3 +30,8 @@ 1.4 Dependency* dep = (Dependency*) _dep; 1.5 fprintf(dependency_file,"VP_%d_%d -> VP_%d_%d;\n",dep->from_vp,dep->from_task,dep->to_vp,dep->to_task); 1.6 } 1.7 + 1.8 +void print_unit_to_file(void* _unit){ 1.9 + Unit* unit = (Unit*) _unit; 1.10 + fprintf(dependency_file,"unit,%d,%d\n",unit->vp,unit->task); 1.11 +} 1.12 \ No newline at end of file
