Add G_LOG_DURATION() helper
This add helper macros to log time spent in a function or code block. It is especially useful when used with g_auto() to automatically log time elapsed when leaving the code block.
Based on idea from Nicolas Dufresne.
This add helper macros to log time spent in a function or code block. It is especially useful when used with g_auto() to automatically log time elapsed when leaving the code block.
Based on idea from Nicolas Dufresne.