o-du/phy
Intel O-RAN/X-RAN Generated Doxygen Documentation
xran_mlog_lnx.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * Copyright (c) 2019 Intel.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *******************************************************************************/
18 
19 #ifndef _XRAN_MLOG_LNX_H_
20 #define _XRAN_MLOG_LNX_H_
21 
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26 
27 #ifdef MLOG_ENABLED
28 #include <mlog_lnx.h>
29 #else
30 
31 /* stubs for MLOG functions */
32 #define MLOG_FALSE ( 0 )
33 
34 #define MLogOpen(a, b, c, d, e) MLOG_FALSE
35 #define MLogRestart(a) MLOG_FALSE
36 #define MLogPrint(a) MLOG_FALSE
37 #define MLogGetFileLocation() NULL
38 #define MLogGetFileSize() 0
39 #define MLogSetMask(a) MLOG_FALSE
40 #define MLogGetMask()
41 #define MLogRegisterTick()
42 #define MLogTick() 0
43 #define MLogIncrementCounter() 0
44 #define MLogTask(w,x,y) 0
45 #define MLogTaskCore(w,x,y,z) 0
46 #define MLogMark(x,y)
47 #define MLogDevInfo(x)
48 #define MLogRegisterFrameSubframe(x,y)
49 #define MLogAddVariables(x,y,z)
50 #define MLogGetStats(a, b, c, d, e) MLOG_FALSE
51 #define MLogGetAvgStats(a, b, c, d) MLOG_FALSE
52 #define MLogAddTestCase(a, b) MLOG_FALSE
53 #define MLogAddPowerStats(a, b, c, d, e) MLOG_FALSE
54 
55 #endif /* MLOG_ENABLED */
56 
57 #ifdef __cplusplus
58 }
59 #endif /* #ifdef __cplusplus */
60 
61 #endif /* #ifndef _XRAN_MLOG_LNX_H_ */
62