AUTH's THMMY "Parallel and distributed systems" course assignments.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

config.h 686 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*!
  2. * \file config,h
  3. * \brief Build configuration file.
  4. *
  5. * \author
  6. * Christos Choutouridis AEM:8997
  7. * <cchoutou@ece.auth.gr>
  8. */
  9. #ifndef CONFIG_H_
  10. #define CONFIG_H_
  11. #include <iostream>
  12. #include <string>
  13. /*
  14. * Defines for different version of the exercise
  15. */
  16. #define V50 (50)
  17. #define V100 (100)
  18. // Fail-safe version selection
  19. #if !defined CODE_VERSION
  20. #define CODE_VERSION V1
  21. #endif
  22. /*!
  23. * Session option for each invocation of the executable
  24. */
  25. struct session_t {
  26. bool timing {false};
  27. bool verbose {false}; //!< Flag to enable verbose output to stdout
  28. };
  29. extern session_t session;
  30. #endif /* CONFIG_H_ */