Skip to content

Commit f1eb834

Browse files
committed
Add LinuxPerf and record its version is serializations
1 parent f7d8ab4 commit f1eb834

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = "1.6.0"
55
[deps]
66
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
77
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
8+
LinuxPerf = "b4c46c6c-4fb0-484d-a11a-41bc3392d094"
89
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
910
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1011
Profile = "9abbd945-dff8-562f-b5e8-e1ebf5ef1b79"
@@ -16,6 +17,7 @@ Aqua = "0.8"
1617
Compat = ">= 4.11.0"
1718
JSON = "0.18, 0.19, 0.20, 0.21"
1819
JuliaFormatter = "1"
20+
LinuxPerf = "0.3.8"
1921
Logging = "<0.0.1, 1"
2022
Printf = "<0.0.1, 1"
2123
Profile = "<0.0.1, 1"

src/BenchmarkTools.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ using Printf
1010
using Profile
1111
using Compat
1212

13+
using LinuxPerf: LinuxPerf
14+
1315
##############
1416
# Parameters #
1517
##############

src/serialization.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
const VERSIONS = Dict(
2-
"Julia" => string(VERSION), "BenchmarkTools" => pkgversion(BenchmarkTools)
2+
"Julia" => string(VERSION),
3+
"BenchmarkTools" => pkgversion(BenchmarkTools),
4+
"LinuxPerf" => pkgversion(LinuxPerf),
35
)
46

57
# TODO: Add any new types as they're added

0 commit comments

Comments
 (0)