#include <stdio.h>
#include <dkconfig.h>
#include <dkproto.h>
Go to the source code of this file.
Defines | |
#define | TR_STR(x) ((x) ? (x) : "(NULL)") |
Show string. | |
#define | TR_PTR(x) ((x) ? "PTR" : "(NULL)") |
Show pointer. | |
Functions | |
void | dktrace_end (void) |
Close trace output file. | |
void | dktrace_init (char *n) |
Start tracing. | |
FILE * | dktrace_file (void) |
Get trace file. | |
void | dk_trace_end (void) |
Close trace output file. | |
void | dk_trace_init (char *n) |
Start tracing. | |
FILE * | dk_trace_file (void) |
Get trace file. | |
void | dktrace_time (void) |
Write time to trace output. | |
void | dk_trace_time (void) |
Write time to trace output. | |
void | dktrace_stdout_time (void) |
Write time to standard output. |
#define TR_PTR | ( | x | ) | ((x) ? "PTR" : "(NULL)") |
Show pointer.
#define TR_STR | ( | x | ) | ((x) ? (x) : "(NULL)") |
Show string.
FILE* dk_trace_file | ( | void | ) |
Get trace file.
void dk_trace_init | ( | char * | n | ) |
Start tracing.
n | File name to write trace output or NULL to use standard output. |
FILE* dktrace_file | ( | void | ) |
Get trace file.
void dktrace_init | ( | char * | n | ) |
Start tracing.
n | File name to write trace output or NULL to use standard output. |