Stride Reference Manual  - generated for commit 9643b11
stride::util::ConfigInfo Class Reference

Config information. More...

#include <ConfigInfo.h>

Collaboration diagram for stride::util::ConfigInfo:
Collaboration graph

Static Public Member Functions

static constexpr bool HaveOpenMP ()
 True if OpenMP in executable, false otherwise. More...
 
static std::string GitRevision ()
 Return git revision string. More...
 
static std::string GetHostname ()
 Return current hostname. More...
 
static unsigned int NumberAvailableThreads ()
 Return number of threads (in case of OpenMP). More...
 
static unsigned int ProcessorCount ()
 Return processor count for system. More...
 

Detailed Description

Config information.

Definition at line 31 of file ConfigInfo.h.

Member Function Documentation

static constexpr bool stride::util::ConfigInfo::HaveOpenMP ( )
inlinestatic

True if OpenMP in executable, false otherwise.

Definition at line 35 of file ConfigInfo.h.

References GetHostname(), GitRevision(), NumberAvailableThreads(), and ProcessorCount().

Referenced by stride::ControlHelper::LogStartup().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string stride::util::ConfigInfo::GitRevision ( )
static

Return git revision string.

Definition at line 33 of file ConfigInfo.cpp.

References TOSTRING.

Referenced by HaveOpenMP(), and stride::ControlHelper::LogStartup().

Here is the caller graph for this function:

std::string stride::util::ConfigInfo::GetHostname ( )
static

Return current hostname.

Definition at line 35 of file ConfigInfo.cpp.

Referenced by HaveOpenMP().

Here is the caller graph for this function:

unsigned int stride::util::ConfigInfo::NumberAvailableThreads ( )
static

Return number of threads (in case of OpenMP).

Definition at line 44 of file ConfigInfo.cpp.

Referenced by HaveOpenMP(), and stride::ControlHelper::LogStartup().

Here is the caller graph for this function:

unsigned int stride::util::ConfigInfo::ProcessorCount ( )
static

Return processor count for system.

Definition at line 42 of file ConfigInfo.cpp.

Referenced by HaveOpenMP(), and stride::ControlHelper::LogStartup().

Here is the caller graph for this function:


The documentation for this class was generated from the following files: