base-utils

base-utils

Synopsis

gint                get_pid                             (void);
gint                get_number_of_processors            (void);
guint64             get_physical_memory_size            (void);
char *              get_backtrace                       (void);

Description

Details

get_pid ()

gint                get_pid                             (void);


get_number_of_processors ()

gint                get_number_of_processors            (void);


get_physical_memory_size ()

guint64             get_physical_memory_size            (void);


get_backtrace ()

char *              get_backtrace                       (void);

Returns :

The current stack trace. Free with g_free(). Mainly meant for debugging, for example storing the allocation stack traces for objects to hunt down leaks.