211 #if defined(__GNUC__) 217 __attribute__((format(printf, 2, 3)));
272 const char *header_title,
296 const char *line_titles[],
297 const unsigned calls[],
void cs_log_timer_array(cs_log_t log, int indent, int n_lines, const char *line_titles[], const unsigned calls[], const cs_timer_counter_t time_count[])
Output timing data block to a given log.
Definition: cs_log.c:673
#define BEGIN_C_DECLS
Definition: cs_defs.h:495
int cs_log_printf_flush(cs_log_t log)
Flush output of a log file.
Definition: cs_log.c:555
void cs_log_separator(cs_log_t log)
Print a separator line in a log file.
Definition: cs_log.c:591
int cs_log_vprintf(cs_log_t log, const char *format, va_list arg_ptr)
Print log info to a given log type.
Definition: cs_log.c:453
void cs_log_binary_pp_int32(int32_t code, char buf[33])
Pretty-print int-32 based bit field to string.
Definition: cs_log.c:412
cs_log_t
Definition: cs_log.h:48
void cs_log_default_activate(bool activate)
Update "active" or "inactive" flag of default log.
Definition: cs_log.c:260
bool cs_log_default_is_active(void)
Update "active" or "inactive" flag of default log.
Definition: cs_log.c:277
void cs_log_strpad(char *dest, const char *src, size_t width, size_t destsize)
Pad a string so that its printable length is the required length.
Definition: cs_log.c:366
#define END_C_DECLS
Definition: cs_defs.h:496
int cs_glob_log_frequency
int cs_log_printf(cs_log_t log, const char *format,...)
Print log info to a given log type.
Definition: cs_log.c:501
void cs_log_timer_array_header(cs_log_t log, int indent, const char *header_title, bool calls)
Output timing data array header to a given log.
Definition: cs_log.c:617
void cs_log_strpadl(char *dest, const char *src, size_t width, size_t destsize)
Pad a string on the left so that its printable length is the required length.
Definition: cs_log.c:394
size_t cs_log_strlen(const char *s)
Count printable length of a character string.
Definition: cs_log.c:295
Definition: cs_timer.h:57