summaryrefslogtreecommitdiff
path: root/TS/support/common.h
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2025-01-16 08:29:22 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2025-01-16 08:29:22 +0100
commit892c2f3aed51835f1a6a22711d4d8bb2c58703aa (patch)
tree809b63ca3aecf31eb6958122dd254f1c0a2e6163 /TS/support/common.h
parentc2bf48b415e8e51d59bbec59635a02ba4e1cb4c4 (diff)
TS: dos2unix; indent -linuxHEADmain
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"