Skip to content

Commit

Permalink
Merge pull request #28 from chriselrod/fixcountershow
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenbauer authored Oct 15, 2023
2 parents a830cb3 + 719644f commit 9239953
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LinuxPerf"
uuid = "b4c46c6c-4fb0-484d-a11a-41bc3392d094"
version = "0.3.5"
version = "0.3.6"

[deps]
Formatting = "59287772-0a20-5a39-b81b-1366585eb4c0"
Expand All @@ -9,5 +9,5 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[compat]
Formatting = "0.4"
PrettyTables = "0.9, 1, 2"
PrettyTables = "2"
julia = "1"
2 changes: 1 addition & 1 deletion src/LinuxPerf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ function Base.show(io::IO, c::Counters)
c.running == 0 ? ["did not run" "0 %"] :
[format(Int64(c.value), commas=true) @sprintf("%.1f %%", 100*(c.running/c.enabled))]
end
return pretty_table(io, stats, ["Events", "Active Time"], row_names=events, alignment=:l, crop=:none, body_hlines=collect(axes(stats, 1)))
return pretty_table(io, stats, header=["Events", "Active Time"], row_labels=events, alignment=:l, crop=:none, body_hlines=collect(axes(stats, 1)))
end

enable!(b::PerfBench) = foreach(enable!, b.groups)
Expand Down

2 comments on commit 9239953

@carstenbauer
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/93428

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.6 -m "<description of version>" 9239953d902a05e6bfeda1604677c506877cd260
git push origin v0.3.6

Please sign in to comment.