Add 'xxx_reporting_period' config options 89/248589/3
authorKonrad Kuchciak <k.kuchciak@samsung.com>
Mon, 30 Nov 2020 09:04:46 +0000 (10:04 +0100)
committerKonrad Kuchciak <k.kuchciak@samsung.com>
Mon, 30 Nov 2020 11:41:44 +0000 (12:41 +0100)
commited85829496ed28070ecce581ffe75c9946f2f0a9
tree36002c89cbbc8bfc9226ed6d655a0f429c6737b4
parentefae4d4d19922e88761d1f669b4057fccc533374
Add 'xxx_reporting_period' config options

Added four new config options:
- cpu_reporting_period
- mem_reporting_period
- io_reporting_period
- fd_reporting_period

-1 means to report only once
value >= 0 denotes minimum period of time (seconds)
between reports

Change-Id: Ia63483bca90864ec5cc7f0c2295c4c8d60d991d8
config/default.conf
src/data_source.h
src/data_sources/tsm_cpu.c
src/data_sources/tsm_fd.c
src/data_sources/tsm_io.c
src/data_sources/tsm_mem.c
src/process.c