|
SUNphi
1.0
|
Implements the parts of code which require dedicated compilation units. More...
#include <cstdarg>#include <cstdio>#include <gitInfo.hpp>#include <Threads.hpp>#include <debug/Crash.hpp>#include <ios/Logger.hpp>#include <ios/MinimalLogger.hpp>#include <ios/TextFormat.hpp>#include <random/TrueRandomGenerator.hpp>#include <system/Memory.hpp>#include <system/Mpi.hpp>#include <system/Timer.hpp>#include <utility/Aliver.hpp>#include <utility/SingleInstance.hpp>Go to the source code of this file.
Classes | |
| class | SUNphi::Aliver |
| Class used to provocate initialization of Mpi. More... | |
Macros | |
| #define | CONFIG_TIME "" |
| Null time. | |
| #define | CONFIG_FLAGS "" |
| Null flags. | |
Functions | |
| void | SUNphi::minimalLogger (Logger &logger, const char *format,...) |
| void | SUNphi::minimalCrash (const char *path, const int line, const char *funcName, const char *format,...) |
| int | SUNphi::aliverHelper () |
| Helper to make sure that the initializing functions are referenced. | |
| Timer | SUNphi::timings ("Total time", Timer::NO_FATHER, Timer::UNSTOPPABLE) |
| Global timings. | |
| Logger | SUNphi::runLog ("/dev/stdout") |
| Global logger. | |
Implements the parts of code which require dedicated compilation units.
Definition in file SUNphi.cpp.
| void SUNphi::minimalCrash | ( | const char * | path, |
| const int | line, | ||
| const char * | funcName, | ||
| const char * | format, | ||
| ... | |||
| ) |
Wraps the actual crasher through the old-style C variadic function
We cannot use variadic template version here, as the crash cannot be called directly here, since "Logger.hpp" is expected
Starts the variadic arguments
Starts the variadic arguments
| path | File where the crash happened |
| line | Line number where the crash happened |
| funcName | Function where the crash happened |
| format | Formatting string |
Definition at line 53 of file SUNphi.cpp.
| void SUNphi::minimalLogger | ( | Logger & | logger, |
| const char * | format, | ||
| ... | |||
| ) |
Wraps the actual logger through the old-style C variadic function
We cannot use variadic template version here, as the logger cannot be called directly here, since "Logger.hpp" is expected
Starts the variadic arguments
Starts the variadic arguments
| logger | Logger to be used |
| format | Formatting string |
Definition at line 40 of file SUNphi.cpp.