|
feisty meow concerns codebase
2.140
|
#include <application/hoople_main.h>#include <basis/byte_array.h>#include <mathematics/chaos.h>#include <basis/functions.h>#include <basis/guards.h>#include <basis/astring.h>#include <basis/mutex.h>#include <structures/amorph.h>#include <structures/static_memory_gremlin.h>#include <loggers/console_logger.h>#include <processes/ethread.h>#include <processes/safe_roller.h>#include <timely/time_control.h>#include <timely/time_stamp.h>#include <octopus/entity_data_bin.h>#include <octopus/entity_defs.h>#include <octopus/unhandled_request.h>#include <application/application_shell.h>#include <configuration/application_configuration.h>#include <textual/string_manipulation.h>#include <stdio.h>
Go to the source code of this file.
Macros | |
| #define | LOG(to_print) printf("%s\n", (char *)astring(to_print).s()); |
| #define | randomizer() _rando |
Functions | |
| octopus_request_id | create_request_id () |
Variables | |
| const int | MAXIMUM_DATA_PER_ENTITY = 1 * KILOBYTE |
| const int | MIN_ADDER_THREAD_PAUSE = 3 |
| const int | MAX_ADDER_THREAD_PAUSE = 20 |
| const int | MIN_WHACKER_THREAD_PAUSE = 8 |
| const int | MAX_WHACKER_THREAD_PAUSE = 70 |
| const int | MIN_TIDIER_THREAD_PAUSE = 60 |
| const int | MAX_TIDIER_THREAD_PAUSE = 500 |
| const int | MIN_MONK_THREAD_PAUSE = 2 * MINUTE_ms |
| const int | MAX_MONK_THREAD_PAUSE = 4 * MINUTE_ms |
| const int | MINIMUM_ITEMS_ADDED = 1 |
| const int | MAXIMUM_ITEMS_ADDED = 20 |
| const int | DEFAULT_THREADS = 90 |
| const int | DEFAULT_RUN_TIME = 80 * MINUTE_ms |
| const int | DATA_DECAY_TIME = 1 * MINUTE_ms |
| const int | MONKS_CLEANING_TIME = 10 * SECOND_ms |
| chaos | _rando |
| entity_data_bin | binger (MAXIMUM_DATA_PER_ENTITY) |
| #define LOG | ( | to_print | ) | printf("%s\n", (char *)astring(to_print).s()); |
Definition at line 88 of file t_bin_threaded.cpp.
Definition at line 98 of file t_bin_threaded.cpp.
| octopus_request_id create_request_id | ( | ) |
Definition at line 102 of file t_bin_threaded.cpp.
References octopi::octopus_request_id::_entity, octopi::octopus_request_id::_request_num, and randomizer.
| chaos _rando |
Definition at line 94 of file t_bin_threaded.cpp.
Referenced by test_recursive_locking().
| const int DATA_DECAY_TIME = 1 * MINUTE_ms |
Definition at line 82 of file t_bin_threaded.cpp.
| const int DEFAULT_RUN_TIME = 80 * MINUTE_ms |
Definition at line 78 of file t_bin_threaded.cpp.
| const int DEFAULT_THREADS = 90 |
Definition at line 75 of file t_bin_threaded.cpp.
| const int MAX_ADDER_THREAD_PAUSE = 20 |
Definition at line 56 of file t_bin_threaded.cpp.
| const int MAX_MONK_THREAD_PAUSE = 4 * MINUTE_ms |
Definition at line 69 of file t_bin_threaded.cpp.
| const int MAX_TIDIER_THREAD_PAUSE = 500 |
Definition at line 64 of file t_bin_threaded.cpp.
| const int MAX_WHACKER_THREAD_PAUSE = 70 |
Definition at line 60 of file t_bin_threaded.cpp.
| const int MAXIMUM_DATA_PER_ENTITY = 1 * KILOBYTE |
Definition at line 51 of file t_bin_threaded.cpp.
| const int MAXIMUM_ITEMS_ADDED = 20 |
Definition at line 73 of file t_bin_threaded.cpp.
| const int MIN_ADDER_THREAD_PAUSE = 3 |
Definition at line 55 of file t_bin_threaded.cpp.
| const int MIN_MONK_THREAD_PAUSE = 2 * MINUTE_ms |
Definition at line 68 of file t_bin_threaded.cpp.
| const int MIN_TIDIER_THREAD_PAUSE = 60 |
Definition at line 63 of file t_bin_threaded.cpp.
| const int MIN_WHACKER_THREAD_PAUSE = 8 |
Definition at line 59 of file t_bin_threaded.cpp.
| const int MINIMUM_ITEMS_ADDED = 1 |
Definition at line 72 of file t_bin_threaded.cpp.
| const int MONKS_CLEANING_TIME = 10 * SECOND_ms |
Definition at line 85 of file t_bin_threaded.cpp.