Blender V4.3
guardedalloc_test_base.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2020-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#ifndef __GUARDEDALLOC_TEST_UTIL_H__
6#define __GUARDEDALLOC_TEST_UTIL_H__
7
8#include "testing/testing.h"
9
10#include "MEM_guardedalloc.h"
11
12class LockFreeAllocatorTest : public ::testing::Test {
13 protected:
14 virtual void SetUp()
15 {
17 }
18};
19
20class GuardedAllocatorTest : public ::testing::Test {
21 protected:
22 virtual void SetUp()
23 {
25 }
26};
27
28#endif // __GUARDEDALLOC_TEST_UTIL_H__
Read Guarded memory(de)allocation.
void MEM_use_lockfree_allocator()
Definition mallocn.cc:130
void MEM_use_guarded_allocator()
Definition mallocn.cc:170