-
Notifications
You must be signed in to change notification settings - Fork 5
/
cpu-instruction-counter.cabal
50 lines (42 loc) · 1.39 KB
/
cpu-instruction-counter.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: cpu-instruction-counter
version: 0.1.0.0
build-type: Simple
cabal-version: >= 1.8
category: System
author: Niklas Hambüchen <niklas@fpcomplete.com>
maintainer: Niklas Hambüchen <niklas@fpcomplete.com>
homepage: https://github.com/nh2/haskell-cpu-instruction-counter
bug-reports: https://github.com/nh2/haskell-cpu-instruction-counter/issues
synopsis: Measuring CPU instructions
description: Measuring CPU instructions using Linux Performance Counters / perf_event_open().
license: MIT
license-file: LICENSE
extra-source-files:
cbits/linux/perfcounters.h
cbits/linux/perfcounters.c
source-repository head
type: git
location: git://github.com/nh2/haskell-cpu-instruction-counter.git
library
exposed-modules: System.CPUInstructionCounter
build-depends:
base < 5
, unliftio-core
include-dirs: cbits/linux
includes: perfcounters.h
install-includes: perfcounters.h
c-sources: cbits/linux/perfcounters.c
ghc-options: -Wall -optc-std=c99 -optc-Wall -optc-Wextra
cc-options: -std=c99 -Wall -Wextra
if os(linux)
buildable: True
else
buildable: False
test-suite tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
ghc-options: -Wall
build-depends:
base
, cpu-instruction-counter