Multi-ApplicationOnlineProfiling
2.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
Debug.h
Go to the documentation of this file.
1
/* ############################ MALP License ############################## */
2
/* # Fri Jan 18 14:00:00 CET 2013 # */
3
/* # Copyright or (C) or Copr. Commissariat a l'Energie Atomique # */
4
/* # # */
5
/* # This software is governed by the CeCILL-C license under French law # */
6
/* # and abiding by the rules of distribution of free software. You can # */
7
/* # use, modify and/ or redistribute the software under the terms of # */
8
/* # the CeCILL-C license as circulated by CEA, CNRS and INRIA at the # */
9
/* # following URL http://www.cecill.info. # */
10
/* # # */
11
/* # The fact that you are presently reading this means that you have # */
12
/* # had knowledge of the CeCILL-C license and that you accept its # */
13
/* # terms. # */
14
/* # # */
15
/* # Authors: # */
16
/* # - BESNARD Jean-Baptiste jean-baptiste.besnard@cea.fr # */
17
/* # # */
18
/* ######################################################################## */
19
26
#ifndef DEBUG_H
27
#define DEBUG_H
28
29
#include <stdio.h>
30
39
#define WARNING(string, ...) printf( "WARNING : %s:%d [%s] : " string , __FILE__, __LINE__, __FUNCTION__, __VA_ARGS__);
40
49
#define ERROR(string, ...) printf( "ERROR : %s:%d [%s] : " string , __FILE__, __LINE__, __FUNCTION__, __VA_ARGS__);
50
59
#define MALP(string, ...) printf( "<## MALP INFO ##> :" string , __VA_ARGS__);
60
69
#define PERROR(string) printf( "DEBUG : %s:%d [%s] : " , __FILE__, __LINE__, __FUNCTION__); \
70
perror( string );
71
80
#define DEBUG(string, ...) printf( "DEBUG : %s:%d [%s] : " string , __FILE__, __LINE__, __FUNCTION__, __VA_ARGS__);
81
82
#endif
/* DEBUG_H */
83
src
Common
Debug.h
Generated on Mon Mar 14 2016 00:01:09 for Multi-ApplicationOnlineProfiling by
1.8.6