add info to ledger tool for total execution time (#26368)

This commit is contained in:
Jeff Washington (jwash) 2022-07-05 09:23:06 -05:00 committed by GitHub
parent 5450f97844
commit 95ae82e074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1156,6 +1156,7 @@ fn main() {
.max(rent.minimum_balance(StakeState::size_of()))
.to_string();
let mut measure_total_execution_time = Measure::start("ledger tool");
let matches = App::new(crate_name!())
.about(crate_description!())
.version(solana_version::version!())
@ -3715,5 +3716,7 @@ fn main() {
}
_ => unreachable!(),
};
measure_total_execution_time.stop();
info!("{}", measure_total_execution_time);
}
}