30 #ifndef __SYSTEMC_EXT_UTIL_FUNCTIONS_HH__ 31 #define __SYSTEMC_EXT_UTIL_FUNCTIONS_HH__ 58 const T
sc_max(
const T &
a,
const T &
b) {
return ((a >= b) ? a : b); }
61 const T
sc_min(
const T &
a,
const T &
b) {
return ((a <= b) ? a : b); }
68 #define IEEE_1666_SYSTEMC 201101L 70 #define SC_VERSION_MAJOR 0 71 #define SC_VERSION_MINOR 1 72 #define SC_VERSION_PATCH 0 73 #define SC_VERSION_ORIGINATOR "gem5" 74 #define SC_VERSION_RELEASE_DATE "NA" 75 #define SC_VERSION_PRERELEASE "beta" 76 #define SC_IS_PRERELEASE true 77 #define SC_VERSION "0.1.0_beta-gem5" 78 #define SC_COPYRIGHT "Copyright 2018 Google, Inc." 90 static inline const char *
93 return sc_version_string.c_str();
95 static inline const char *
98 return sc_copyright_string.c_str();
104 #endif //__SYSTEMC_EXT_UTIL_FUNCTIONS_HH__ static const char * sc_release()
const std::string sc_version_prerelease
const std::string sc_copyright_string
const std::string sc_version_string
const T sc_max(const T &a, const T &b)
const T sc_min(const T &a, const T &b)
const unsigned int sc_version_minor
const bool sc_is_prerelease
const char * sc_version()
static const char * sc_copyright()
const unsigned int sc_version_major
const std::string sc_version_release_date
const std::string sc_version_originator
const T sc_abs(const T &a)
const unsigned int sc_version_patch