Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
sorcery_memory_cache_thrash_thread Struct Reference

Structure for a memory cache thras thread. More...

Collaboration diagram for sorcery_memory_cache_thrash_thread:
Collaboration graph
[legend]

Data Fields

unsigned int average_execution_time
 Average time spent executing sorcery operation in this thread. More...
 
struct ast_sorcerysorcery
 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...
 

Detailed Description

Structure for a memory cache thras thread.

Definition at line 51 of file test_sorcery_memory_cache_thrash.c.

Field Documentation

◆ average_execution_time

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

◆ sorcery

struct ast_sorcery* sorcery

◆ stop

unsigned int stop

◆ thread

pthread_t thread

◆ unique_objects

unsigned int unique_objects

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