1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-12-25 06:54:44 +00:00

Hadrons: all objects/modules mapped to an integer address system to remove string operations from scheduling

This commit is contained in:
2016-05-10 19:07:41 +01:00
parent 7dfdc9baa0
commit d604580e5a
6 changed files with 734 additions and 311 deletions

View File

@@ -82,22 +82,14 @@ private:
void parseParameterFile(void);
// schedule computation
void schedule(void);
// program execution
void configLoop(void);
unsigned int execute(const std::vector<std::string> &program);
// pretty size formatting
static std::string sizeString(long unsigned int bytes);
// loop on configurations
void configLoop(void);
private:
long unsigned int locVol_;
std::string parameterFileName_;
GlobalPar par_;
Environment &env_;
ModuleFactory &modFactory_;
std::map<std::string, std::unique_ptr<Module>> module_;
std::map<std::string, std::string> associatedModule_;
std::map<std::string, std::vector<std::string>> input_;
std::vector<std::string> program_;
std::vector<std::vector<std::string>> freeProg_;
std::vector<unsigned int> program_;
};
END_HADRONS_NAMESPACE