summaryrefslogtreecommitdiff
path: root/TS/baselines/cpu/mprofile.h
blob: bfaf0525ece9db17f6dac30f875914e4ebf25790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#define PATH_TIME_SERIES "./"
#define PATH_RESULTS "./"
#define ARIT_FACT 32

#ifndef DTYPE
#define DTYPE double
#endif

//#define HBM_ALOC
//#define RANDOM_DIAGS

int loadTimeSeriesFromFile(std::string infilename, std::vector < DTYPE > &A,
			   int &timeSeriesLength);
int saveProfileToFile(std::string outfilename, DTYPE * profile,
		      int *profileIndex, int timeSeriesLength, int windowSize);