diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-04-29 19:12:45 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-04-29 19:12:45 +0300 |
commit | 8196b4281500ef4f6e0cba4ff1f20f6d41e92f17 (patch) | |
tree | cec8dfeaf2a2cf0ae73816a84f8dba41bd14274b /src/Makefile.am | |
parent | 3ababf4edb89be0b164d8e9cb1cad5b009de9778 (diff) | |
download | wydawca-8196b4281500ef4f6e0cba4ff1f20f6d41e92f17.tar.gz wydawca-8196b4281500ef4f6e0cba4ff1f20f6d41e92f17.tar.bz2 |
Improve statistic reporter scheduling.
Use crontab format specification to define the frequency of
statistic report generation.
* src/wydawca.h (stat_report_schedule): New variable. Replaces
stat_report_interval.
* configure.ac: Check for struct tm.tm_gmtoff.
* src/config.c: New keyword: stat-report-schedule.
* src/micron.c: New file.
* src/micron.h: New file.
* src/Makefile.am: Add new files.
* src/timer.c (wy_thr_stat): Use micron scheduler.
* doc/wydawca.texi: Document stat-report-schedule.
* NEWS: Document stat-report-schedule.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5b70f5e..15238d4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -44,6 +44,8 @@ wydawca_SOURCES=\ null.c\ timer.c\ thread_name.c\ + micron.h\ + micron.c\ queue.h if COND_INOTIFY |