source: branches/ali/GDE/TREEPUZZLE/src/sched.h

Last change on this file was 191, checked in by jobb, 24 years ago

treepuzzle

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1/*
2 * sched.h
3 *
4 *
5 * Part of TREE-PUZZLE 5.0 (June 2000)
6 *
7 * (c) 1999-2000 by Heiko A. Schmidt, Korbinian Strimmer,
8 *                  M. Vingron, and Arndt von Haeseler
9 * (c) 1995-1999 by Korbinian Strimmer and Arndt von Haeseler
10 *
11 * All parts of the source except where indicated are distributed under
12 * the GNU public licence.  See http://www.opensource.org for details.
13 */
14
15
16#ifndef SCHED_H
17#define SCHED_H
18#ifndef SCHEDTEST
19#   include "util.h"
20#else
21    typedef unsigned long int uli; 
22#endif
23
24
25typedef struct sched_t{
26   uli    truetasks;
27   uli    alltasks;
28   uli    numtasks;
29   uli    minchunk;
30   int    numprocs;
31   int    delta;
32   double ddelta;
33   int    overhead;
34   int    rest;
35   int    nconst;
36   double fconst;
37   double lconst;
38   double kconst;
39   int    inited;
40} schedtype;
41
42void num2quart(uli qnum, int *a, int *b, int *c, int *d);
43uli numquarts(int maxspc);
44uli quart2num (int a, int b, int c, int d);
45
46void printsched(schedtype sch);
47void initsched(schedtype *sch, uli tasks, int procs, uli minchunk);
48uli sc(schedtype *sch);
49uli gss(schedtype *sch);
50uli sgss(schedtype *sch);
51uli tss(schedtype *sch);
52
53#endif /* SCHED_H */
Note: See TracBrowser for help on using the repository browser.