Pakman
common.h
Go to the documentation of this file.
1
#ifndef COMMON_H
2
#define COMMON_H
3
4
#include <string>
5
#include <chrono>
6
13
extern
std::chrono::milliseconds
g_main_timeout
;
14
16
extern
std::chrono::milliseconds
g_kill_timeout
;
17
19
extern
bool
g_force_host_spawn
;
20
22
extern
bool
g_ignore_errors
;
23
25
extern
bool
g_discard_child_stderr
;
26
28
extern
bool
g_program_terminated
;
29
31
extern
const
char
*
g_program_name
;
32
34
extern
std::string
g_output_file
;
35
37
enum
master_t
38
{
39
no_master,
40
serial,
41
mpi,
42
};
43
45
enum
controller_t
46
{
47
no_controller,
48
sweep,
49
rejection,
50
smc,
51
};
52
53
#endif // COMMON_H
controller_t
controller_t
Definition:
common.h:45
master_t
master_t
Definition:
common.h:37
g_force_host_spawn
bool g_force_host_spawn
Definition:
main.cc:29
g_program_terminated
bool g_program_terminated
Definition:
main.cc:32
g_kill_timeout
std::chrono::milliseconds g_kill_timeout
g_program_name
const char * g_program_name
Definition:
main.cc:22
g_discard_child_stderr
bool g_discard_child_stderr
Definition:
main.cc:30
g_main_timeout
std::chrono::milliseconds g_main_timeout
g_ignore_errors
bool g_ignore_errors
Definition:
main.cc:28
g_output_file
std::string g_output_file
Definition:
main.cc:34
src
core
common.h
Generated by
1.8.13