Add timing of complete program
This commit is contained in:
parent
67fcde4309
commit
5a3525a9ce
5 changed files with 70 additions and 68 deletions
|
|
@ -163,6 +163,7 @@ struct Args {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
let total_start = std::time::Instant::now();
|
||||
let args = Args::parse();
|
||||
|
||||
let graph = parse(args.filename);
|
||||
|
|
@ -207,4 +208,5 @@ fn main() {
|
|||
println!("{}", n + 1);
|
||||
}
|
||||
}
|
||||
eprintln!("Total time: {:?}", total_start.elapsed());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue