Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
854 | trimarchi | 1 | /* |
2 | * Project: S.Ha.R.K. |
||
3 | * |
||
4 | * Coordinators: |
||
5 | * Giorgio Buttazzo <giorgio@sssup.it> |
||
6 | * Paolo Gai <pj@gandalf.sssup.it> |
||
7 | * |
||
8 | * Authors : |
||
9 | * (see the web pages for full authors list) |
||
10 | * |
||
11 | * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
||
12 | * |
||
13 | * http://www.sssup.it |
||
14 | * http://retis.sssup.it |
||
15 | * http://shark.sssup.it |
||
16 | */ |
||
17 | |||
18 | /* |
||
19 | * Copyright (C) 2000 Paolo Gai |
||
20 | * |
||
21 | * This program is free software; you can redistribute it and/or modify |
||
22 | * it under the terms of the GNU General Public License as published by |
||
23 | * the Free Software Foundation; either version 2 of the License, or |
||
24 | * (at your option) any later version. |
||
25 | * |
||
26 | * This program is distributed in the hope that it will be useful, |
||
27 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
28 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
29 | * GNU General Public License for more details. |
||
30 | * |
||
31 | * You should have received a copy of the GNU General Public License |
||
32 | * along with this program; if not, write to the Free Software |
||
33 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||
34 | * |
||
35 | */ |
||
36 | |||
37 | |||
38 | #ifndef __NONESTAR_H__ |
||
39 | #define __NONESTAR_H__ |
||
40 | |||
41 | #include <ll/ll.h> |
||
42 | #include <kernel/config.h> |
||
43 | #include <sys/types.h> |
||
44 | #include <kernel/types.h> |
||
45 | |||
46 | LEVEL NONESTAR_register_level(int master); |
||
47 | |||
48 | int NONESTAR_setbudget(LEVEL l, PID p, int budget); |
||
49 | int NONESTAR_getbudget(LEVEL l, PID p); |
||
50 | int NONESTAR_budget_has_thread(LEVEL l, int budget); |
||
51 | |||
52 | int NONESTAR_get_remain_capacity(int budget); |
||
53 | int NONESTAR_get_last_reclaiming(int budget); |
||
54 | |||
55 | #endif |
||
56 |