mkernel 0.0.2
Micro-kernel framework, everything as a module
|
Compiled functions used by debugging macros to write on stderr. More...
Go to the source code of this file.
Functions | |
void | _trace (const char *p_File, const unsigned int p_Line, const char *p_CompilDate, const char *p_CompilTime, const char *p_Function) |
Print a debug trace (checkpoint) More... | |
void | _trace_msg (const char *p_File, const unsigned int p_Line, const char *p_CompilDate, const char *p_CompilTime, const char *p_Function, const char *p_Message) |
Print a debug trace (checkpoint) with a static message. More... | |
void | _trace_dynmsg (const char *p_File, const unsigned int p_Line, const char *p_CompilDate, const char *p_CompilTime, const char *p_Function, const char *p_Format,...) |
Print a debug trace (checkpoint) with a formatted message. More... | |
Compiled functions used by debugging macros to write on stderr.
Originally inspired by "L'art du code", Steve Maguire, Microsoft Press
Definition in file assert.c.
void _trace | ( | const char * | p_File, |
const unsigned int | p_Line, | ||
const char * | p_CompilDate, | ||
const char * | p_CompilTime, | ||
const char * | p_Function | ||
) |
Print a debug trace (checkpoint)
[in] | p_File | Source file |
[in] | p_Line | Source line in the source file |
[in] | p_CompilDate | Compilation date |
[in] | p_CompilTime | Compilation time |
[in] | p_Function | Function name in the source file |
Outputs on stderr a timestamp, with the filename, the sourceline, the compilation date and time, the function name.
void _trace_dynmsg | ( | const char * | p_File, |
const unsigned int | p_Line, | ||
const char * | p_CompilDate, | ||
const char * | p_CompilTime, | ||
const char * | p_Function, | ||
const char * | p_Format, | ||
... | |||
) |
Print a debug trace (checkpoint) with a formatted message.
[in] | p_File | Source file |
[in] | p_Line | Source line in the source file |
[in] | p_CompilDate | Compilation date |
[in] | p_CompilTime | Compilation time |
[in] | p_Function | Function name in the source file |
[in] | p_Format | format string |
[in] | ... | Formatted string parameters |
Outputs on stderr a timestamp, with the filename, the sourceline, the compilation date and time, the function name and a formatted message.
void _trace_msg | ( | const char * | p_File, |
const unsigned int | p_Line, | ||
const char * | p_CompilDate, | ||
const char * | p_CompilTime, | ||
const char * | p_Function, | ||
const char * | p_Message | ||
) |
Print a debug trace (checkpoint) with a static message.
[in] | p_File | Source file |
[in] | p_Line | Source line in the source file |
[in] | p_CompilDate | Compilation date |
[in] | p_CompilTime | Compilation time |
[in] | p_Function | Function name in the source file |
[in] | p_Message | Static message |
Outputs on stderr a timestamp, with the filename, the sourceline, the compilation date and time, the function name and a static message.