104# elif defined __APPLE__
106# include <mach/mach_time.h>
112 mach_timebase_info_data_t tinfo;
116# elif defined __MACH__
118# include <mach/mach_time.h>
124 mach_timebase_info_data_t tinfo;
128# elif defined __linux__
131# include <sys/time.h>
139# elif defined __FreeBSD__
142# include <sys/time.h>
ladel_int c_int
type for integer numbers
ladel_double c_float
type for floating point numbers
Solver return information.
Internal data structures used in QPALM.
struct QPALM_TIMER QPALMTimer
QPALM Timer for statistics.
QPALMSettings * copy_settings(const QPALMSettings *settings)
Copy settings creating a new settings structure.
void update_status(QPALMInfo *info, c_int status_val)
Update solver status (value and string).
void print_iteration(c_int iter, QPALMWorkspace *work)
Print information about the current iteration.
c_float qpalm_toc(QPALMTimer *t)
Report time in seconds since last call to qpalm_tic.
void c_strcpy(char dest[], const char source[])
Custom string copy to avoid string.h library.
void qpalm_tic(QPALMTimer *t)
Start timer.
void print_header(void)
Print the header with QPALM version number and fields.
void print_final_message(QPALMWorkspace *work)
Print final message as a box with info.