Skip to content

Implement a self profiler #51657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Aug 3, 2018
Prev Previous commit
Next Next commit
Add units to times
  • Loading branch information
wesleywiser committed Aug 2, 2018
commit aceee88c1add37cf02c1b67ebdd987696d4e6a43
2 changes: 1 addition & 1 deletion src/librustc/util/profiling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl CategoryData {
($name:tt, $rustic_name:ident) => {
writeln!(
lock,
"{0: <15} \t\t {1: <15}",
"{0: <15} \t\t {1: <15}ms",
$name,
self.times.$rustic_name / 1_000_000
).unwrap();
Expand Down