Skip to content

Commit ec955a8

Browse files
committed
FIO_MALLOC_TMP_USE_SYSTEM implementation of static malloc_arenas
1 parent 6ea9445 commit ec955a8

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

fio-stl.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14640,6 +14640,8 @@ SFUNC void FIO_NAME(FIO_MEMORY_NAME, malloc_print_free_block_list)(void) {}
1464014640
/** Prints the settings used to define the allocator. */
1464114641
SFUNC void FIO_NAME(FIO_MEMORY_NAME, malloc_print_settings)(void) {}
1464214642
SFUNC size_t FIO_NAME(FIO_MEMORY_NAME, malloc_block_size)(void) { return 0; }
14643+
void fio_malloc_arenas___(void);
14644+
SFUNC size_t FIO_NAME(FIO_MEMORY_NAME, malloc_arenas)(void) { return 0; }
1464314645

1464414646
#ifdef FIO_TEST_ALL
1464514647
SFUNC void FIO_NAME_TEST(FIO_NAME(stl, FIO_MEMORY_NAME), mem)(void) {

fio-stl/010 mem.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ SFUNC void FIO_NAME(FIO_MEMORY_NAME, malloc_print_free_block_list)(void) {}
742742
/** Prints the settings used to define the allocator. */
743743
SFUNC void FIO_NAME(FIO_MEMORY_NAME, malloc_print_settings)(void) {}
744744
SFUNC size_t FIO_NAME(FIO_MEMORY_NAME, malloc_block_size)(void) { return 0; }
745+
void fio_malloc_arenas___(void);
746+
SFUNC size_t FIO_NAME(FIO_MEMORY_NAME, malloc_arenas)(void) { return 0; }
745747

746748
#ifdef FIO_TEST_ALL
747749
SFUNC void FIO_NAME_TEST(FIO_NAME(stl, FIO_MEMORY_NAME), mem)(void) {

tests/test-helpers.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ FIO_SFUNC void FIO_NAME_TEST(stl, atol_speed)(const char *name,
164164
/* *****************************************************************************
165165
Hashing speed testing
166166
***************************************************************************** */
167-
#include <math.h>
168167

169168
typedef uintptr_t (*fio__hashing_func_fn)(char *, size_t);
170169

0 commit comments

Comments
 (0)