summaryrefslogtreecommitdiff
path: root/TS/support/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'TS/support/common.h')
-rwxr-xr-xTS/support/common.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/TS/support/common.h b/TS/support/common.h
index b120bb1..7585b90 100755
--- a/TS/support/common.h
+++ b/TS/support/common.h
@@ -14,30 +14,30 @@
#define DTYPE int32_t
#define DTYPE_MAX INT32_MAX
-typedef struct {
+typedef struct {
uint32_t ts_length;
- uint32_t query_length;
- DTYPE query_mean;
- DTYPE query_std;
- uint32_t slice_per_dpu;
- int32_t exclusion_zone;
- enum kernels {
+ uint32_t query_length;
+ DTYPE query_mean;
+ DTYPE query_std;
+ uint32_t slice_per_dpu;
+ int32_t exclusion_zone;
+ enum kernels {
kernel1 = 0,
nr_kernels = 1,
} kernel;
-}dpu_arguments_t;
+} dpu_arguments_t;
-typedef struct {
- DTYPE minValue;
- uint32_t minIndex;
- DTYPE maxValue;
- uint32_t maxIndex;
-}dpu_result_t;
+typedef struct {
+ DTYPE minValue;
+ uint32_t minIndex;
+ DTYPE maxValue;
+ uint32_t maxIndex;
+} dpu_result_t;
#ifndef ENERGY
#define ENERGY 0
#endif
-#define PRINT 0
+#define PRINT 0
#define ANSI_COLOR_RED "\x1b[31m"
#define ANSI_COLOR_GREEN "\x1b[32m"