mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-02 10:30:00 -07:00
general: snapshot
This commit is contained in:
@@ -2,13 +2,13 @@ use std::{fs, path::PathBuf};
|
||||
|
||||
use chrono::Local;
|
||||
|
||||
use crate::{databases::Databases, datasets::AllDatasets, states::States};
|
||||
use crate::{databases::Databases, datasets::AllDatasets, states::States, structs::Height};
|
||||
|
||||
pub fn generate_allocation_files(
|
||||
datasets: &AllDatasets,
|
||||
databases: &Databases,
|
||||
states: &States,
|
||||
last_height: usize,
|
||||
last_height: Height,
|
||||
) -> color_eyre::Result<()> {
|
||||
let mut flamegraph = allocative::FlameGraphBuilder::default();
|
||||
flamegraph.visit_root(datasets);
|
||||
|
||||
Reference in New Issue
Block a user