-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprocessor.h
54 lines (41 loc) · 1.55 KB
/
processor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/***************************************************************************
hpl_pd.h - description
-------------------
begin : Sat Aug 17 2002
copyright : (C) 2002 by Davide Patti
email : [email protected]
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef PROCESSOR_H
#define PROCESSOR_H
#include "environment.h"
#include "parameter.h"
#include "common.h"
#include <fstream>
#include <cstdlib>
#include <string>
class Processor {
public:
Processor();
~Processor();
void set_to_default();
void set_config(const Configuration&);
Parameter num_clusters;
Parameter integer_units;
Parameter float_units;
Parameter branch_units;
Parameter memory_units;
Parameter gpr_static_size;
Parameter fpr_static_size;
Parameter pr_static_size;
Parameter cr_static_size;
Parameter btr_static_size;
};
#endif