main
Brett 2024-03-11 12:40:09 -04:00
parent 2785519443
commit dabe142e0b
5 changed files with 6219 additions and 4 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25)
project(lilfbtf5 VERSION 0.1.13)
project(lilfbtf5 VERSION 0.1.14)
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)

3956
dhat.out.48715 Normal file

File diff suppressed because it is too large Load Diff

1177
massif.out.47346 Normal file

File diff suppressed because it is too large Load Diff

1071
massif.out.48036 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -26,6 +26,7 @@
#include <blt/std/hashmap.h>
#include <blt/std/types.h>
#include <random>
#include <thread>
#include <stack>
#include "blt/profiling/profiler_v2.h"
#include "blt/std/allocator.h"
@ -1476,9 +1477,19 @@ namespace fb
BLT_INFO(sizeof(any_t_union));
run_any_t();
run_any_t_variant();
run_any_t_union();
run_std_any_t();
//run_any_t_variant();
//run_any_t_union();
//run_std_any_t();
for (int i = 0; i < 500; i++)
std::this_thread::sleep_for(std::chrono::milliseconds(1));
{
auto v = blt::system::get_memory_process();
BLT_DEBUG("Currently %ld bytes aka %s in memory", v.resident, blt::string::fromBytes(v.resident).c_str());
}
BLT_INFO("Current bytes: %s, blocks: %ld", blt::string::fromBytes(alloc_2.getStats().getAllocatedBytes()).c_str(),
alloc_2.getStats().getAllocatedBlocks());
}
}