1 /******************************************************************************
3 * Copyright (c) 2020 Intel.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 *******************************************************************************/
19 #ifndef _XRAN_MLOG_LNX_H_
20 #define _XRAN_MLOG_LNX_H_
31 /* stubs for MLOG functions */
32 #define MLOG_FALSE ( 0 )
34 #define MLogOpen(a, b, c, d, e) MLOG_FALSE
35 #define MLogSetup(a, b, c, d) MLOG_FALSE
36 #define MLogRestart(a) MLOG_FALSE
37 #define MLogPrint(a) MLOG_FALSE
38 #define MLogGetFileLocation() NULL
39 #define MLogGetFileName() NULL
40 #define MLogGetFileSize() 0
41 #define MLogSetMask(a) MLOG_FALSE
43 #define MLogRegisterTick()
45 #define MLogIncrementCounter() 0
46 #define MLogTask(w,x,y) 0
47 #define MLogTaskCore(w,x,y,z) 0
49 #define MLogDevInfo(x)
50 #define MLogRegisterFrameSubframe(x,y)
51 #define MLogAddVariables(x,y,z)
52 #define MLogGetStats(a, b, c, d, e) MLOG_FALSE
53 #define MLogGetAvgStats(a, b, c, d) MLOG_FALSE
54 #define MLogAddTestCase(a, b) MLOG_FALSE
55 #define MLogAddPowerStats(a, b, c, d, e) MLOG_FALSE
57 #endif /* MLOG_ENABLED */
59 void MLogXRANTask(uint32_t taskid, uint64_t ticksstart, uint64_t ticksstop);
60 uint64_t MLogXRANTick(void);
64 #endif /* #ifdef __cplusplus */
66 #endif /* #ifndef _XRAN_MLOG_LNX_H_ */