Asterisk - The Open Source Telephony Project
18.5.0
|
Structure for a memory cache thras thread. More...
Data Fields | |
unsigned int | average_execution_time |
Average time spent executing sorcery operation in this thread. More... | |
struct ast_sorcery * | sorcery |
Sorcery instance being tested. More... | |
unsigned int | stop |
Set when the thread should stop. More... | |
pthread_t | thread |
The thread thrashing the cache. More... | |
unsigned int | unique_objects |
The number of unique objects we should restrict ourself to. More... | |
Structure for a memory cache thras thread.
Definition at line 51 of file test_sorcery_memory_cache_thrash.c.
unsigned int average_execution_time |
Average time spent executing sorcery operation in this thread.
Definition at line 61 of file test_sorcery_memory_cache_thrash.c.
Referenced by sorcery_memory_cache_thrash_retrieve(), sorcery_memory_cache_thrash_stop(), and sorcery_memory_cache_thrash_update().
struct ast_sorcery* sorcery |
Sorcery instance being tested.
Definition at line 55 of file test_sorcery_memory_cache_thrash.c.
Referenced by sorcery_memory_cache_thrash_create(), sorcery_memory_cache_thrash_retrieve(), and sorcery_memory_cache_thrash_update().
unsigned int stop |
Set when the thread should stop.
Definition at line 59 of file test_sorcery_memory_cache_thrash.c.
Referenced by sorcery_memory_cache_thrash_retrieve(), sorcery_memory_cache_thrash_stop(), and sorcery_memory_cache_thrash_update().
pthread_t thread |
The thread thrashing the cache.
Definition at line 53 of file test_sorcery_memory_cache_thrash.c.
Referenced by sorcery_memory_cache_thrash_create(), sorcery_memory_cache_thrash_destroy(), sorcery_memory_cache_thrash_retrieve(), sorcery_memory_cache_thrash_start(), sorcery_memory_cache_thrash_stop(), and sorcery_memory_cache_thrash_update().
unsigned int unique_objects |
The number of unique objects we should restrict ourself to.
Definition at line 57 of file test_sorcery_memory_cache_thrash.c.
Referenced by sorcery_memory_cache_cli_thrash(), sorcery_memory_cache_thrash_create(), sorcery_memory_cache_thrash_retrieve(), and sorcery_memory_cache_thrash_update().