![]() |
The ROme OpTimistic Simulator
3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
Test: general initialization and argument handling. More...
Include dependency graph for init_test.c:Go to the source code of this file.
Macros | |
| #define | TEST_INIT(args_arr, cond) |
Functions | |
| void | log_logo_print (void) |
| Prints a fancy ROOT-Sim logo on the terminal. | |
| bool | io_terminal_can_colorize (void) |
| Determines if stdout supports colored text. More... | |
| unsigned | thread_cores_count (void) |
| Computes the count of available cores on the machine. More... | |
| int | main (int argc, char **argv) |
| The main entry point of the custom compiler. More... | |
Variables | |
| static unsigned | mocked_threads |
| bool | log_colored |
| If set, uses color codes to color the log outputs. | |
| char * | args_lp [] |
| char * | args_wt [] |
| char * | args_serial [] |
| char * | args_no_bind [] |
| char * | args_gvt [] |
| char * | args_termination [] |
| char * | args_seed [] |
| const struct test_config | test_config |
| The test configuration object, must be defined by the test sources. More... | |
Test: general initialization and argument handling.
Definition in file init_test.c.
| #define TEST_INIT | ( | args_arr, | |
| cond | |||
| ) |
Definition at line 88 of file init_test.c.
| bool io_terminal_can_colorize | ( | void | ) |
Determines if stdout supports colored text.
Definition at line 16 of file init_test.c.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
The main entry point of the custom compiler.
| argc | The count of command line arguments, as per ISO C standard |
| argv | The list of command line arguments, as per ISO C standard |
Definition at line 95 of file init_test.c.
| unsigned thread_cores_count | ( | void | ) |
Computes the count of available cores on the machine.
Definition at line 23 of file init_test.c.
| char* args_gvt[] |
Definition at line 61 of file init_test.c.
| char* args_lp[] |
Definition at line 29 of file init_test.c.
| char* args_no_bind[] |
Definition at line 53 of file init_test.c.
| char* args_seed[] |
Definition at line 79 of file init_test.c.
| char* args_serial[] |
Definition at line 45 of file init_test.c.
| char* args_termination[] |
Definition at line 70 of file init_test.c.
| char* args_wt[] |
Definition at line 36 of file init_test.c.
| const struct test_config test_config |
The test configuration object, must be defined by the test sources.
Definition at line 180 of file init_test.c.