Skip to content

Commit

Permalink
implement getProcessorId
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Nov 8, 2020
1 parent f3ffdf7 commit 41339d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/LIKWID.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ module LIKWID
const liblikwid = "liblikwid"
include("marker.jl")

function getProcessorId()
ccall((:likwid_getProcessorId, liblikwid), Cint, ())
end

function __init__()
Marker.init()
Threads.@threads for i in 1:Threads.nthreads()
Expand Down

2 comments on commit 41339d7

@vchuravy
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 register()

@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/24341

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.1.1 -m "<description of version>" 41339d7602bcf375e33146202ffbcf9cdc541d10
git push origin v0.1.1

Please sign in to comment.