| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
Structure for memory cache thrashing. More...

| Data Fields | ||
| unsigned int | average_retrieve_execution_time | |
| The average execution time of sorcery retrieve operations. | ||
| unsigned int | average_update_execution_time | |
| The average execution time of sorcery update operations. | ||
| unsigned int | retrieve_threads | |
| The number of threads which are retrieving. | ||
| struct ast_sorcery * | sorcery | |
| The sorcery instance being tested. | ||
| struct { | ||
| size_t current | ||
| struct sorcery_memory_cache_thrash_thread ** elems | ||
| size_t max | ||
| } | threads | |
| Threads which are updating or reading from the cache. | ||
| unsigned int | update_threads | |
| The number of threads which are updating. | ||
Structure for memory cache thrashing.
Definition at line 65 of file test_sorcery_memory_cache_thrash.c.
| unsigned int average_retrieve_execution_time | 
The average execution time of sorcery retrieve operations.
Definition at line 75 of file test_sorcery_memory_cache_thrash.c.
Referenced by sorcery_memory_cache_cli_thrash(), and sorcery_memory_cache_thrash_stop().
| unsigned int average_update_execution_time | 
The average execution time of sorcery update operations.
Definition at line 71 of file test_sorcery_memory_cache_thrash.c.
Referenced by sorcery_memory_cache_cli_thrash(), and sorcery_memory_cache_thrash_stop().
| size_t current | 
Definition at line 77 of file test_sorcery_memory_cache_thrash.c.
| struct sorcery_memory_cache_thrash_thread* * elems | 
Definition at line 77 of file test_sorcery_memory_cache_thrash.c.
| size_t max | 
Definition at line 77 of file test_sorcery_memory_cache_thrash.c.
| unsigned int retrieve_threads | 
The number of threads which are retrieving.
Definition at line 73 of file test_sorcery_memory_cache_thrash.c.
Referenced by nominal_thrash(), sorcery_memory_cache_cli_thrash(), sorcery_memory_cache_thrash_create(), and sorcery_memory_cache_thrash_stop().
| struct ast_sorcery* sorcery | 
The sorcery instance being tested.
Definition at line 67 of file test_sorcery_memory_cache_thrash.c.
Referenced by sorcery_memory_cache_thrash_create(), and sorcery_memory_cache_thrash_destroy().
| struct { ... } threads | 
Threads which are updating or reading from the cache.
Referenced by sorcery_memory_cache_thrash_create(), sorcery_memory_cache_thrash_destroy(), sorcery_memory_cache_thrash_start(), and sorcery_memory_cache_thrash_stop().
| unsigned int update_threads | 
The number of threads which are updating.
Definition at line 69 of file test_sorcery_memory_cache_thrash.c.
Referenced by nominal_thrash(), sorcery_memory_cache_cli_thrash(), sorcery_memory_cache_thrash_create(), and sorcery_memory_cache_thrash_stop().