diff options
author | Hyunho Kang <hhstark.kang@samsung.com> | 2016-06-14 14:32:24 +0900 |
---|---|---|
committer | Hyunho Kang <hhstark.kang@samsung.com> | 2016-06-20 15:48:30 +0900 |
commit | bb4305148dba90ff1f0b7ea6e1542efa822a295f (patch) | |
tree | 359595d23c984fe13581fb23ded9ce38e78776ee /include/perf-measure.h | |
parent | dc793275c043e17ece54f529b094267dcc29fbd9 (diff) | |
download | librua-bb4305148dba90ff1f0b7ea6e1542efa822a295f.tar.gz librua-bb4305148dba90ff1f0b7ea6e1542efa822a295f.tar.bz2 librua-bb4305148dba90ff1f0b7ea6e1542efa822a295f.zip |
Refactoring rua apisubmit/tizen/20160622.081450accepted/tizen/wearable/20160623.121655accepted/tizen/tv/20160623.121634accepted/tizen/mobile/20160623.121622accepted/tizen/ivi/20160623.121722accepted/tizen/common/20160627.191233
- 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.h | 46 |
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__ */ |