-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestingARM.h
57 lines (42 loc) · 1.91 KB
/
TestingARM.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
55
56
57
/*============================================================================
TestingARM, an Object-Oriented C benchmark for aarch64 and aarch32.
Copyright (C) 2022 by Zack T Smith.
"bandwidth" is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
"bandwidth" is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this software. If not, see <http://www.gnu.org/licenses/>.
The author may be reached at 1 at zsmith dot co.
*===========================================================================*/
#ifndef _OOC_TESTING_ARM_H
#define _OOC_TESTING_ARM_H
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include "OOC/Object.h"
#include "Testing.h"
#define DECLARE_TESTING_ARM_INSTANCE_VARS(TYPE_POINTER)
#define DECLARE_TESTING_ARM_METHODS(TYPE_POINTER)
struct testing_arm;
typedef struct testing_arm_class {
DECLARE_OBJECT_CLASS_VARS
DECLARE_OBJECT_METHODS(struct testing_arm*)
DECLARE_TESTING_METHODS(struct testing_arm*)
DECLARE_TESTING_ARM_METHODS(struct testing_arm*)
} TestingARMClass;
extern TestingARMClass *_TestingARMClass;
extern TestingARMClass *TestingARMClass_init (TestingARMClass*);
typedef struct testing_arm {
TestingARMClass *is_a;
DECLARE_OBJECT_INSTANCE_VARS(struct testing_arm*)
DECLARE_TESTING_INSTANCE_VARS(struct testing_arm*)
DECLARE_TESTING_ARM_INSTANCE_VARS(struct testing_arm*)
} TestingARM;
extern TestingARM *TestingARM_new ();
extern TestingARM *TestingARM_init (TestingARM *self);
#endif