summaryrefslogtreecommitdiff
path: root/include/perf-measure.h
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2016-06-14 14:32:24 +0900
committerHyunho Kang <hhstark.kang@samsung.com>2016-06-20 15:48:30 +0900
commitbb4305148dba90ff1f0b7ea6e1542efa822a295f (patch)
tree359595d23c984fe13581fb23ded9ce38e78776ee /include/perf-measure.h
parentdc793275c043e17ece54f529b094267dcc29fbd9 (diff)
downloadlibrua-bb4305148dba90ff1f0b7ea6e1542efa822a295f.tar.gz
librua-bb4305148dba90ff1f0b7ea6e1542efa822a295f.tar.bz2
librua-bb4305148dba90ff1f0b7ea6e1542efa822a295f.zip
- Make *_internal.h for amd APIs (DB direct write operation). Change-Id: Ife8983639fa275aa429cd47eed115b9b1a35f7a4 Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Diffstat (limited to 'include/perf-measure.h')
-rw-r--r--include/perf-measure.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/include/perf-measure.h b/include/perf-measure.h
deleted file mode 100644
index fbb252d..0000000
--- a/include/perf-measure.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (c) 2000 - 2016 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __PERF_MEASURE_H__
-#define __PERF_MEASURE_H__
-
-#include <time.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifdef PERF_MEASURE_ENABLE
-
-unsigned int _perf_measure_start(const char *tag, char *func_name, int line);
-unsigned int _perf_measure_end(const char *tag, unsigned int ts_start,
- char *func_name, int line);
-
-#define PERF_MEASURE_START(tag) _perf_measure_start(tag, __func__,__LINE__)
-#define PERF_MEASURE_END(tag, ts_start) \
- _perf_measure_end(tag, ts_start,__func__, __LINE__)
-
-#else
-
-#define PERF_MEASURE_START(tag) (0)
-#define PERF_MEASURE_END(tag, ts_start) (0)
-
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif /* __PERF_MEASURE_H__ */