use ferroalloc_probe::{start_flush_thread, FerroAllocator};
#[global_allocator]
static ALLOC: FerroAllocator = FerroAllocator;
fn main() {
start_flush_thread(7777);
println!("Allocating some data...");
let v: Vec<u8> = vec![0u8; 1024 * 1024]; println!("Allocated {} bytes", v.len());
let s = String::from("ferroalloc probe example");
println!("String: {s}");
println!("Done. Check the analyzer for allocation data.");
}