aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_perfctr.h
diff options
context:
space:
mode:
authorMikael Pettersson <[email protected]>2015-02-08 21:19:35 +0100
committerZandra Hird <[email protected]>2015-02-19 09:46:32 +0100
commitcfa9229ba1eb8851caecfc92ca1bc9813fb1d567 (patch)
tree2009b00c72b79734f5c433ab6afb5eae544607f3 /erts/emulator/hipe/hipe_perfctr.h
parent9d8327c62a981bcc436e5f9fc5466f5539dce3dc (diff)
downloadotp-cfa9229ba1eb8851caecfc92ca1bc9813fb1d567.tar.gz
otp-cfa9229ba1eb8851caecfc92ca1bc9813fb1d567.tar.bz2
otp-cfa9229ba1eb8851caecfc92ca1bc9813fb1d567.zip
remove perfctr support
Perfctr is a Linux kernel extension that allows programmatic access to the performance monitoring counters found in most current CPUs. However, development of perfctr ceased after 2010, and it cannot be used with Linux kernels newer than 2.6.32. Therefore the perfctr support code in the Erlang VM is effectively dead code, so this patch removes it.
Diffstat (limited to 'erts/emulator/hipe/hipe_perfctr.h')
-rw-r--r--erts/emulator/hipe/hipe_perfctr.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/erts/emulator/hipe/hipe_perfctr.h b/erts/emulator/hipe/hipe_perfctr.h
deleted file mode 100644
index 8fbf9ecf35..0000000000
--- a/erts/emulator/hipe/hipe_perfctr.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * %CopyrightBegin%
- *
- * Copyright Ericsson AB 2004-2011. All Rights Reserved.
- *
- * The contents of this file are subject to the Erlang Public License,
- * Version 1.1, (the "License"); you may not use this file except in
- * compliance with the License. You should have received a copy of the
- * Erlang Public License along with this software. If not, it can be
- * retrieved online at http://www.erlang.org/.
- *
- * Software distributed under the License is distributed on an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
- * the License for the specific language governing rights and limitations
- * under the License.
- *
- * %CopyrightEnd%
- */
-
-
-extern int hipe_perfctr_hrvtime_open(void);
-extern void hipe_perfctr_hrvtime_close(void);
-extern double hipe_perfctr_hrvtime_get(void);