QMCPACK
sysutil.h
Go to the documentation of this file.
1
//////////////////////////////////////////////////////////////////////////////////////
2
// This file is distributed under the University of Illinois/NCSA Open Source License.
3
// See LICENSE file in top directory for details.
4
//
5
// Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
6
//
7
// File developed by: Jeongnim Kim, jeongnim.kim@gmail.com, University of Illinois at Urbana-Champaign
8
// Jeremy McMinnis, jmcminis@gmail.com, University of Illinois at Urbana-Champaign
9
// Mark Dewing, markdewing@gmail.com, University of Illinois at Urbana-Champaign
10
//
11
// File created by: Jeongnim Kim, jeongnim.kim@gmail.com, University of Illinois at Urbana-Champaign
12
//////////////////////////////////////////////////////////////////////////////////////
13
14
15
#ifndef OHMMS_SYSTEM_UTILITIES_H
16
#define OHMMS_SYSTEM_UTILITIES_H
17
18
/*!\file sysutil.h
19
* Function declarations to get system information.
20
*/
21
#include <string>
22
23
//!< return the host name
24
std::string
getHostName
();
25
26
//!< return the date and time
27
std::string
getDateAndTime
();
28
29
/** get the time and date with a format
30
*/
31
std::string
getDateAndTime
(
const
char
* format);
32
33
size_t
freemem
();
34
35
size_t
memusage
();
36
37
#endif
getDateAndTime
std::string getDateAndTime()
Definition:
sysutil.cpp:31
getHostName
std::string getHostName()
< return the host name
Definition:
sysutil.cpp:24
memusage
size_t memusage()
Definition:
sysutil.cpp:66
freemem
size_t freemem()
Definition:
sysutil.cpp:53
src
Platforms
Host
sysutil.h
Generated on Fri Jun 28 2024 10:45:16 for QMCPACK by
1.8.14