utils.h 252 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#ifndef AML_BENCHS_UTILS_H
#define AML_BENCHS_UTILS_H 1

void log_init(const char *nm);
void log_msg(const char *level, unsigned int line, const char *fmt, ...);

#define debug(...) log_msg("debug", __LINE__, __VA_ARGS__)

#endif // AML_BENCHS_UTILS_H