aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-09-04 02:23:18 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-31 12:20:59 +0100
commitba46856bb403a507977e4c699c90714c962463f9 (patch)
tree4cbca7d1f0fa584630eae9c6c9f975ac44c1f0eb /src
parent349219c14875705b8142d599f6af153d22a9a00e (diff)
benchmark: move benchmark impl to a private header
There is no need to expose the implementation details of both BENCHMARK_START and BENCHMARK_STOP macros via public header. This change moves them to a separate private header 'bench.h'.
Diffstat (limited to 'src')
-rw-r--r--src/codec_amr.c1
-rw-r--r--src/codec_efr.c1
-rw-r--r--src/codec_fr.c1
-rw-r--r--src/codec_hr.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/codec_amr.c b/src/codec_amr.c
index 9cbeba6..2fa7a2f 100644
--- a/src/codec_amr.c
+++ b/src/codec_amr.c
@@ -20,6 +20,7 @@
#include <osmocom/gapk/codecs.h>
#include <osmocom/gapk/benchmark.h>
+#include <osmocom/gapk/bench.h>
#include "config.h"
diff --git a/src/codec_efr.c b/src/codec_efr.c
index ba39f61..f5b7f83 100644
--- a/src/codec_efr.c
+++ b/src/codec_efr.c
@@ -19,6 +19,7 @@
#include <osmocom/gapk/codecs.h>
#include <osmocom/gapk/benchmark.h>
+#include <osmocom/gapk/bench.h>
#include "config.h"
diff --git a/src/codec_fr.c b/src/codec_fr.c
index 6fc0af1..2a4936d 100644
--- a/src/codec_fr.c
+++ b/src/codec_fr.c
@@ -21,6 +21,7 @@
#include <osmocom/gapk/codecs.h>
#include <osmocom/gapk/benchmark.h>
+#include <osmocom/gapk/bench.h>
#include "config.h"
diff --git a/src/codec_hr.c b/src/codec_hr.c
index 7c1484e..ef66f57 100644
--- a/src/codec_hr.c
+++ b/src/codec_hr.c
@@ -21,6 +21,7 @@
#include <osmocom/gapk/codecs.h>
#include <osmocom/gapk/benchmark.h>
+#include <osmocom/gapk/bench.h>
#include "config.h"