Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
hash_test Struct Reference
Collaboration diagram for hash_test:
Collaboration graph
[legend]

Data Fields

struct timeval deadline
 
int grow_count
 
int max_grow
 
int preload
 
struct ast_testtest
 
struct ast_hashtabto_be_thrashed
 
struct ao2_containerto_be_thrashed
 

Detailed Description

Definition at line 57 of file test_astobj2_thrash.c.

Field Documentation

◆ deadline

struct timeval deadline

When to give up on the tests

Definition at line 67 of file test_astobj2_thrash.c.

Referenced by AST_TEST_DEFINE(), and is_timed_out().

◆ grow_count

int grow_count

Number of enteries added by the grow thread.

Definition at line 63 of file test_astobj2_thrash.c.

Referenced by hash_test_grow(), and hash_test_lookup().

◆ max_grow

int max_grow

Number of entries to insert in the grow thread.

Definition at line 61 of file test_astobj2_thrash.c.

Referenced by AST_TEST_DEFINE(), hash_test_count(), hash_test_grow(), and hash_test_lookup().

◆ preload

int preload

Entries preloaded into the hashtab; to be deleted by the shrink thread

Definition at line 65 of file test_astobj2_thrash.c.

Referenced by AST_TEST_DEFINE(), and hash_test_shrink().

◆ test

struct ast_test* test

The actual test object

Definition at line 61 of file test_hashtab_thrash.c.

Referenced by AST_TEST_DEFINE(), and is_timed_out().

◆ to_be_thrashed [1/2]

struct ast_hashtab* to_be_thrashed

Unit under test

Definition at line 51 of file test_hashtab_thrash.c.

◆ to_be_thrashed [2/2]

struct ao2_container* to_be_thrashed

Unit under test

Definition at line 59 of file test_astobj2_thrash.c.

Referenced by AST_TEST_DEFINE(), hash_test_count(), hash_test_grow(), hash_test_lookup(), and hash_test_shrink().


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