forked from lolo859/vystem
Vystem 0.2
This commit is contained in:
@@ -43,7 +43,7 @@ The test will separate single page allocations and frees from multi-pages alloca
|
||||
|
||||
## Malloc subsystem test
|
||||
|
||||
These tests are design to test the reliability and performances of the Pez subsystem. They are defined inside `shelter/lib/include/kernel/tests/test_malloc.h` and implemented inside `shelter/lib/src/kernel/tests/test_malloc.c`. They use the `shelter/lib/src/kernel/tests/payloads/test_malloc_payload.h`.
|
||||
These tests are designed to test the reliability and performances of the Pez subsystem. They are defined inside `shelter/lib/include/kernel/tests/test_malloc.h` and implemented inside `shelter/lib/src/kernel/tests/test_malloc.c`. They use the `shelter/lib/src/kernel/tests/payloads/test_malloc_payload.h`.
|
||||
|
||||
The payload contain the following datas:
|
||||
- `test_malloc_small_size`: contain 10000 sizes for small allocations (under or equal to 1024 bytes)
|
||||
@@ -51,3 +51,9 @@ The payload contain the following datas:
|
||||
- `test_malloc_big_alloc`: contain 2000 values, serving the same role and generated like `test_pez_physical_alloc`
|
||||
|
||||
The malloc test combine two tests: 10000 allocations and deallocations of variously sized small objects using the generic slab allocators, and 1000 allocations and frees of pages on the heap, on the same logic of the Pez subsystem test, but adapted to the quantity used in this test.
|
||||
|
||||
## Queues tests
|
||||
|
||||
This test is mainly designed to stress test the queue implementation provided by the standard library.
|
||||
|
||||
It simply consists of 10000 objects pushed into a queue.
|
||||
|
||||
Reference in New Issue
Block a user