For internal use only.
This test program is used to test the operation of event_gen_alloc() and event_gen_release().
Definition in file t_evg_alloc.c.
#include "event-test.h"
Include dependency graph for t_evg_alloc.c:
Go to the source code of this file.
Data Structures | |
struct | t_gen |
Test generator. More... | |
Defines | |
#define | cnt(array) |
Count number of elements in a struct t_gen pointer array. | |
Functions | |
int | main (int argc, char **argv) |
Generator allocation test program. |
|
For internal use only. This helper macro counts the number of elements in the named array.
Definition at line 59 of file t_evg_alloc.c. Referenced by main(). |
|
For internal use only. This program is used for testing the event generator allocation functions. Definition at line 68 of file t_evg_alloc.c. References _ev_gen_lookup(), cnt, EGT_RESERVED, ev_lib_init, ev_prog_name, ev_test_init, event_destroy(), event_gen_alloc(), event_gen_register(), event_gen_release(), _ev_gendesc_s::gd_active, _ev_gendesc_s::gd_free, _ev_genlist_s::gl_count, prog, and t_gen::tg_seq. Here is the call graph for this function: ![]() |