diff loop.h @ 166:aefd87f9d12f

loop graph
author Nina Engelhardt
date Tue, 18 Oct 2011 15:53:04 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/loop.h	Tue Oct 18 15:53:04 2011 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +/* 
     1.5 + * File:   loop.h
     1.6 + * Author: engelhardt
     1.7 + *
     1.8 + * Created on 4. Oktober 2011, 15:54
     1.9 + */
    1.10 +
    1.11 +#ifndef LOOP_H
    1.12 +#define	LOOP_H
    1.13 +
    1.14 +#include <stdio.h>
    1.15 +
    1.16 +typedef int* bulb;
    1.17 +
    1.18 +FILE* loop_file;
    1.19 +
    1.20 +bulb new_bulb();
    1.21 +
    1.22 +void set_bulb_member(bulb b, int i, int vp, int task);
    1.23 +
    1.24 +void set_bulb_core(bulb b, int core);
    1.25 +
    1.26 +void set_bulb_id(bulb b, int id);
    1.27 +
    1.28 +void set_loop_file(FILE* file);
    1.29 +
    1.30 +void print_bulb_to_file(void* b);
    1.31 +
    1.32 +void print_per_slot_to_file(void* _b);
    1.33 +#endif	/* LOOP_H */
    1.34 +