add info to ledger tool for total execution time (#26368)
This commit is contained in:
parent
5450f97844
commit
95ae82e074
|
@ -1156,6 +1156,7 @@ fn main() {
|
||||||
.max(rent.minimum_balance(StakeState::size_of()))
|
.max(rent.minimum_balance(StakeState::size_of()))
|
||||||
.to_string();
|
.to_string();
|
||||||
|
|
||||||
|
let mut measure_total_execution_time = Measure::start("ledger tool");
|
||||||
let matches = App::new(crate_name!())
|
let matches = App::new(crate_name!())
|
||||||
.about(crate_description!())
|
.about(crate_description!())
|
||||||
.version(solana_version::version!())
|
.version(solana_version::version!())
|
||||||
|
@ -3715,5 +3716,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
};
|
};
|
||||||
|
measure_total_execution_time.stop();
|
||||||
|
info!("{}", measure_total_execution_time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue