1 #ifndef __DALI_INTERNAL_PERFORMANCE_MONITOR_H__
2 #define __DALI_INTERNAL_PERFORMANCE_MONITOR_H__
5 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
30 * @brief PerformanceMonitor.
31 * Empty stubs should we decided to hook into monitoring counters
33 class PerformanceMonitor
60 #define PERFORMANCE_MONITOR_INIT(x)
61 #define PERF_MONITOR_START(x) // start of timed event
62 #define PERF_MONITOR_END(x) // end of a timed event
63 #define INCREASE_COUNTER(x) // increase a counter by 1
64 #define INCREASE_BY(x,y) // increase a count by x
65 #define MATH_INCREASE_COUNTER(x) // increase a math counter ( MATRIX_MULTIPLYS, QUATERNION_TO_MATRIX, FLOAT_POINT_MULTIPLY)
66 #define MATH_INCREASE_BY(x,y) // increase a math counter by x
67 #define PERF_MONITOR_NEXT_FRAME() // update started rendering a new frame
69 } // namespace Internal
73 #endif // __DALI_INTERNAL_PERFORMANCE_MONITOR_H_