#include <basis/chaos.h>#include <basis/function.h>#include <basis/guards.h>#include <basis/istring.h>#include <basis/log_base.h>#include <basis/set.cpp>#include <data_struct/unique_id.h>#include <mechanisms/ithread.h>#include <mechanisms/thread_cabinet.h>#include <mechanisms/time_stamp.h>#include <opsystem/application_shell.h>#include <opsystem/event_extensions.h>#include <loggers/file_logger.h>#include <data_struct/static_memory_gremlin.h>#include <opsystem/timer_driver.h>Include dependency graph for t_timer_driver.cpp:

Go to the source code of this file.
Defines | |
| #define | LOG(s) STAMPED_EMERGENCY_LOG(program_wide_logger(), s) |
| #define | CREATE_TIMER(name, id, dur) |
| #define | ZAP_TIMER(name) program_wide_timer().zap_timer(&name) |
Variables | |
| const int | TEST_DURATION = 3 * MINUTE_ms |
| const int | MAX_THREADS = 120 |
| #define CREATE_TIMER | ( | name, | |||
| id, | |||||
| dur | ) |
Value:
my_timer_handler name(*this, id); \ program_wide_timer().set_timer(dur, &name); \ LOG(istring("timer ") + #name + " hitting every " \ + #dur + " ms")
Definition at line 135 of file t_timer_driver.cpp.
| #define LOG | ( | s | ) | STAMPED_EMERGENCY_LOG(program_wide_logger(), s) |
Definition at line 35 of file t_timer_driver.cpp.
| #define ZAP_TIMER | ( | name | ) | program_wide_timer().zap_timer(&name) |
Definition at line 141 of file t_timer_driver.cpp.
| const int MAX_THREADS = 120 |
Definition at line 39 of file t_timer_driver.cpp.
| const int TEST_DURATION = 3 * MINUTE_ms |
Definition at line 37 of file t_timer_driver.cpp.
1.5.1