Asterisk - The Open Source Telephony Project GIT-master-27fb039
Loading...
Searching...
No Matches
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.
 
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_sorcerysorcery
 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.
 

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]

struct { ... } threads

◆ update_threads

unsigned int update_threads

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