Hash :
da905bea
Author :
Date :
2018-10-11T17:54:35
timevar: expect that getrusage is available Don't keep both times and getrusage as backend: both are guaranteed by gnulib, a single one suffices. Using getrusage is open to possibly tracking other types of resources in the future. * modules/timevar (Depends-on): Add getrusage. (configure.ac): Remove gl_TIMEVAR. (Files): Remove m4/timevar.m4. * m4/timevar.m4: Remove, rely on gnulib for getrusage. * lib/timevar.h (timevar_enabled): Clarify documentation. * lib/timevar.c: Remove all the code about times. Remove all the CPP guards about getrusage: expect it to be present (courtesy of gnulib).
Description:
A simple self-profiling module based on timers.
Files:
lib/timevar.h
lib/timevar.c
Depends-on:
getrusage
gettext-h
stdlib
sys_time
sys_times
times
xalloc
Makefile.am:
lib_SOURCES += timevar.c timevar.def
Include:
"timevar.h"
License:
GPLv3+
Maintainer:
Akim Demaille <akim.demaille@gmail.com>