#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);