Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Data Fields
sorcery_memory_cache_thrash Struct Reference

Structure for memory cache thrashing. More...

Collaboration diagram for sorcery_memory_cache_thrash:
Collaboration graph
[legend]

Data Fields

unsigned int average_retrieve_execution_time
 The average execution time of sorcery retrieve operations. More...
 
unsigned int average_update_execution_time
 The average execution time of sorcery update operations. More...
 
unsigned int retrieve_threads
 The number of threads which are retrieving. More...
 
struct ast_sorcerysorcery
 The sorcery instance being tested. More...
 
struct {
   size_t   current
 
   struct sorcery_memory_cache_thrash_thread **   elems
 
   size_t   max
 
threads
 Threads which are updating or reading from the cache. More...
 
unsigned int update_threads
 The number of threads which are updating. More...
 

Detailed Description

Structure for memory cache thrashing.

Definition at line 65 of file test_sorcery_memory_cache_thrash.c.

Field Documentation

◆ average_retrieve_execution_time

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().

◆ average_update_execution_time

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().

◆ current

size_t current

Definition at line 77 of file test_sorcery_memory_cache_thrash.c.

◆ elems

Definition at line 77 of file test_sorcery_memory_cache_thrash.c.

◆ max

size_t max

Definition at line 77 of file test_sorcery_memory_cache_thrash.c.

◆ retrieve_threads

unsigned int retrieve_threads

◆ sorcery

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

◆ update_threads

unsigned int update_threads

The documentation for this struct was generated from the following file: