OpenMAXBellagio  0.9.3
user_debug_levels.h File Reference

Go to the source code of this file.

Macros

#define DEB_LEV_NO_OUTPUT   0
 
#define DEB_LEV_ERR   1
 
#define DEB_LEV_PARAMS   2
 
#define DEB_LEV_SIMPLE_SEQ   4
 
#define DEB_LEV_FULL_SEQ   8
 
#define DEB_LEV_FUNCTION_NAME   16
 
#define DEFAULT_MESSAGES   32
 
#define DEB_ALL_MESS   255
 
#define DEBUG_LEVEL   (DEB_LEV_ERR | DEFAULT_MESSAGES)
 
#define DEBUG(n, args...)   do { if (DEBUG_LEVEL & (n)){fprintf(stderr, args);} } while (0)
 

Macro Definition Documentation

◆ DEB_ALL_MESS

#define DEB_ALL_MESS   255

All the messages - max value

Definition at line 59 of file user_debug_levels.h.

◆ DEB_LEV_ERR

#define DEB_LEV_ERR   1

Messages explaing the reason of critical errors

Definition at line 34 of file user_debug_levels.h.

◆ DEB_LEV_FULL_SEQ

#define DEB_LEV_FULL_SEQ   8

Messages representing steps in the execution. All the steps are described, also with iterations. With this level of output the performance is seriously compromised

Definition at line 46 of file user_debug_levels.h.

◆ DEB_LEV_FUNCTION_NAME

#define DEB_LEV_FUNCTION_NAME   16

Messages that indicate the beginning and the end of a function. It can be used to trace the execution

Definition at line 50 of file user_debug_levels.h.

◆ DEB_LEV_NO_OUTPUT

#define DEB_LEV_NO_OUTPUT   0

test/components/common/user_debug_levels.h

Define the level of debug prints on standard err. The different levels can be composed with binary OR. The debug levels defined here belong to the test applications

Copyright (C) 2007-2009 STMicroelectronics Copyright (C) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USARemove all debug output lines

Definition at line 31 of file user_debug_levels.h.

◆ DEB_LEV_PARAMS

#define DEB_LEV_PARAMS   2

Messages showing values related to the test and the component/s used

Definition at line 37 of file user_debug_levels.h.

◆ DEB_LEV_SIMPLE_SEQ

#define DEB_LEV_SIMPLE_SEQ   4

Messages representing steps in the execution. These are the simple messages, because they avoid iterations

Definition at line 41 of file user_debug_levels.h.

◆ DEBUG

#define DEBUG (   n,
  args... 
)    do { if (DEBUG_LEVEL & (n)){fprintf(stderr, args);} } while (0)

Definition at line 65 of file user_debug_levels.h.

◆ DEBUG_LEVEL

#define DEBUG_LEVEL   (DEB_LEV_ERR | DEFAULT_MESSAGES)

Definition at line 63 of file user_debug_levels.h.

◆ DEFAULT_MESSAGES

#define DEFAULT_MESSAGES   32

Messages that are the default test application output. These message should be shown every time

Definition at line 55 of file user_debug_levels.h.


Generated for OpenMAX Bellagio rel. 0.9.3 by  doxygen 1.5.1
SourceForge.net Logo