Asterisk - The Open Source Telephony Project GIT-master-7e7a603
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.

◆ sorcery

struct ast_sorcery* sorcery

Sorcery instance being tested.

Definition at line 55 of file test_sorcery_memory_cache_thrash.c.

◆ stop

unsigned int stop

Set when the thread should stop.

Definition at line 59 of file test_sorcery_memory_cache_thrash.c.

◆ thread

pthread_t thread

The thread thrashing the cache.

Definition at line 53 of file test_sorcery_memory_cache_thrash.c.

◆ unique_objects

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


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