34 #include <gsl/gsl_matrix.h>
36 #include <lal/LALDatatypes.h>
52 typedef enum tagLogLevel_t
#define _LAL_GCC_VPRINTF_FORMAT_(NFMT)
#define _LAL_GCC_PRINTF_FORMAT_(NFMT, NARG)
double REAL8
Double precision real floating-point number (8 bytes).
void LogSetFile(FILE *fp)
Set file to print log messages to.
int XLALdumpREAL8TimeSeries(const char *fname, const REAL8TimeSeries *series)
dump given REAL8 time-series into a text-file
REAL8 XLALGetCPUTime(void)
High-resolution CPU timer (returns result in seconds), aimed for code-timing purposes.
int XLALdumpREAL4TimeSeries(const char *fname, const REAL4TimeSeries *series)
dump given REAL4 time-series into a text-file
REAL8 XLALGetPeakHeapUsageMB(void)
Returns the peak amount of memory (in MB) allocated on the heap so far using either lalMallocTotalPea...
const char * LogGetTimestamp(void)
LogLevel_t
Argument-type for LogPrintf(): determines log-level of this message.
int XLALdumpCOMPLEX8TimeSeries(const char *fname, const COMPLEX8TimeSeries *series)
dump given COMPLEX8 time-series into a text-file
void void int XLALfprintfGSLmatrix(FILE *fp, const char *fmt, const gsl_matrix *gij) _LAL_GCC_VPRINTF_FORMAT_(2)
Output gsl_matrix in octave-format, using the given format for the matrix-entries return -1 on error,...
int XLALfprintfGSLvector_int(FILE *fp, const char *fmt, const gsl_vector_int *vect) _LAL_GCC_VPRINTF_FORMAT_(2)
int XLALfprintfGSLvector(FILE *fp, const char *fmt, const gsl_vector *vect) _LAL_GCC_VPRINTF_FORMAT_(2)
Output gsl_matrix in octave-format, using the given format for the matrix-entries return -1 on error,...
void void LogPrintfVerbatim(LogLevel_t, const char *format,...) _LAL_GCC_PRINTF_FORMAT_(2
REAL8 XLALGetTimeOfDay(void)
Return time of day (seconds since 1970) as a double.
LogLevel_t LogLevel(void)
Get log level by examining lalDebugLevel.
char * XLALClearLinebreaks(const char *str)
Returns input string with line-breaks ' ' removed (replaced by space) The original string is unmodifi...
void LogPrintf(LogLevel_t, const char *format,...) _LAL_GCC_PRINTF_FORMAT_(2
@ LOG_CRITICAL
log-level for critical errors
@ LOG_LAST
internal: don't use
@ LOG_NONE
internal: don't use
@ LOG_DEBUG
debug log-level
@ LOG_NORMAL
'normal' log-level
@ LOG_DETAIL
detailed log-level
Time series of COMPLEX8 data, see DATATYPE-TimeSeries types for more details.
Time series of REAL4 data, see DATATYPE-TimeSeries types for more details.
Time series of REAL8 data, see DATATYPE-TimeSeries types for more details.