apps/native/ttsd-worker-task.git
6 years agomain: implementation 13/183213/5
Michal Kolodziejski [Mon, 2 Jul 2018 11:40:53 +0000 (13:40 +0200)]
main: implementation

Change-Id: Ifc140f9d3ed40ba1fd347a1ec52526ab84004d7b
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoconfig: added total_duration 32/183232/4
Michal Kolodziejski [Tue, 3 Jul 2018 12:39:55 +0000 (14:39 +0200)]
config: added total_duration

Change-Id: I73700bfbd122980aa865c80a7147954873fcbf31
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoMerge "report-json-serializer: app and top serializers"
Lukasz Stanislawski [Thu, 5 Jul 2018 14:31:13 +0000 (14:31 +0000)]
Merge "report-json-serializer: app and top serializers"

6 years agoreport-json-serializer: app and top serializers 37/183337/5
Michal Kolodziejski [Wed, 4 Jul 2018 13:41:46 +0000 (15:41 +0200)]
report-json-serializer: app and top serializers

Change-Id: Iecc773aecbc6f44d404e7edd4eea13e62868683f
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoprocfs: add reading cmdline and exe 28/183128/3
Lukasz Stanislawski [Fri, 29 Jun 2018 10:44:56 +0000 (12:44 +0200)]
procfs: add reading cmdline and exe

Change-Id: Ibf7e126b86ddb70144448f87da167a55a4dfb7cf

6 years agoreport-generator: refactor 55/182755/8
Lukasz Stanislawski [Wed, 27 Jun 2018 14:33:02 +0000 (16:33 +0200)]
report-generator: refactor

Move the statistic calculation logic out-of report-generator.

Change-Id: I4993271bc9e0dbb0dd665f48f6fe66933e7b8bc3

6 years agoappinfo-provider: implementation part 2 19/183019/3
Michal Kolodziejski [Fri, 29 Jun 2018 13:39:33 +0000 (15:39 +0200)]
appinfo-provider: implementation part 2

Change-Id: Ib1f4eaa08058488bde38d7bf9f82a65e446baaa6
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoMerge "report-generator: implement app_report_generator"
Lukasz Stanislawski [Fri, 29 Jun 2018 13:58:39 +0000 (13:58 +0000)]
Merge "report-generator: implement app_report_generator"

6 years agoreport-generator: implement app_report_generator 24/182624/10
Lukasz Stanislawski [Tue, 26 Jun 2018 14:34:43 +0000 (16:34 +0200)]
report-generator: implement app_report_generator

Change-Id: I8820b70f3f4fbca245276ec99b49c1de5a7eb8b3

6 years agoprocfs: implement pid iterator 27/182927/6
Lukasz Stanislawski [Thu, 28 Jun 2018 17:22:21 +0000 (19:22 +0200)]
procfs: implement pid iterator

Change-Id: I1fa1db698ba6e71778bee11dc606c9fa3b503f13

6 years agoapp-provider: implementation part1 52/182752/5
Michal Kolodziejski [Wed, 27 Jun 2018 14:00:39 +0000 (16:00 +0200)]
app-provider: implementation part1

Change-Id: Ifca921415fc27b6ef6c200bd8602efaf19719638
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoapp-provider: api change 41/182741/1
Michal Kolodziejski [Wed, 27 Jun 2018 12:41:47 +0000 (14:41 +0200)]
app-provider: api change

Change-Id: Iaa114497633df86205d1feddbc3dc87a9ed311fe
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agotask-factory: app-task implementation 92/182392/9
Michal Kolodziejski [Fri, 22 Jun 2018 14:14:25 +0000 (16:14 +0200)]
task-factory: app-task implementation

Change-Id: I52c341a8ed6829714480c4b122267d31e19f14f6
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoreport: return memory usage as percent 81/182381/2
Lukasz Stanislawski [Fri, 22 Jun 2018 10:37:02 +0000 (12:37 +0200)]
report: return memory usage as percent

Change-Id: I5a6c123c666baf3b85900a1eaf89ecd13566dc8b

6 years agoserializer: basic report serializer added 90/180290/8
Lukasz Stanislawski [Tue, 22 May 2018 15:18:34 +0000 (17:18 +0200)]
serializer: basic report serializer added

Change-Id: Ie93e518aa0e756ab7ab9e96c5e694f558076caad

6 years agoapp-provider: API design 52/182252/3
Lukasz Stanislawski [Thu, 21 Jun 2018 14:59:00 +0000 (16:59 +0200)]
app-provider: API design

Change-Id: I70750d272eb9cc75c4bf211ac0695346d95d2e02

6 years agoMerge "build: fix wrong package name"
Lukasz Stanislawski [Fri, 22 Jun 2018 12:13:50 +0000 (12:13 +0000)]
Merge "build: fix wrong package name"

6 years agotask-factory: load_avg task 74/182374/3
Michal Kolodziejski [Fri, 22 Jun 2018 09:20:09 +0000 (11:20 +0200)]
task-factory: load_avg task

Change-Id: I6601e0957dff24fe2bef0ec629fe1932de93ad2e
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agotask-factory: fixed name, fixed memory leak 51/182251/4
Michal Kolodziejski [Thu, 21 Jun 2018 14:10:14 +0000 (16:10 +0200)]
task-factory: fixed name, fixed memory leak

Change-Id: Ifb92bfda6176a720a03c7250d321c32f8f7fd2e3
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoconfig-deserializer: implementation 43/182243/3
Michal Kolodziejski [Tue, 19 Jun 2018 14:04:40 +0000 (16:04 +0200)]
config-deserializer: implementation

Change-Id: If143fe1df77e7318e7fd0402277a61a7777f9f9d
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoconfig-deserializer: fixed config to meet new requirements 42/182242/3
Michal Kolodziejski [Thu, 21 Jun 2018 13:22:31 +0000 (15:22 +0200)]
config-deserializer: fixed config to meet new requirements

Change-Id: I10df6a9aa39194e509de9ae8c0eb8928583bc14e
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoconfig deserializer: api design 92/181992/4
Michal Kolodziejski [Tue, 19 Jun 2018 12:07:25 +0000 (14:07 +0200)]
config deserializer: api design

Change-Id: I9c74ede328842a968e2a097da8ac704415ccdd91
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agojson-schema-defs: implementation 77/182377/2
Michal Kolodziejski [Fri, 22 Jun 2018 10:04:43 +0000 (12:04 +0200)]
json-schema-defs: implementation

Change-Id: Id59aed5dde0ac1cae0f45a2ebdbb947eb08d645e
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agobuild: fix wrong package name 53/182253/1
Lukasz Stanislawski [Thu, 21 Jun 2018 15:06:41 +0000 (17:06 +0200)]
build: fix wrong package name

Change-Id: Ie7706f7aaf3ddba8eb69a4f80cacd113f6cf8ec8

6 years agoreport-generator: implement generator functions 85/181285/9
Lukasz Stanislawski [Mon, 11 Jun 2018 08:53:28 +0000 (10:53 +0200)]
report-generator: implement generator functions

Change-Id: I25f955a06d0ffbf0ecbb7bdeb77dc19cc15cad24

6 years agoscheduler: struct field initialized with NULL 79/181979/3
Michal Kolodziejski [Tue, 19 Jun 2018 09:20:53 +0000 (11:20 +0200)]
scheduler: struct field initialized with NULL

Change-Id: I3a4f22487af9f55cd7f57bbc0934a7841ebbc12e
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoscheduler: implementation 91/181691/5
Michal Kolodziejski [Fri, 15 Jun 2018 15:43:35 +0000 (17:43 +0200)]
scheduler: implementation

Change-Id: I42257e1945c0f48998ac5a9321e9330c7601d222
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoscheduler: api 49/181649/5
Michal Kolodziejski [Fri, 15 Jun 2018 08:57:05 +0000 (10:57 +0200)]
scheduler: api

Change-Id: Iaae18f56facb118f9917d29ff18d7957a24e41ae
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoworker: removed thread limit 21/181521/6
Michal Kolodziejski [Thu, 14 Jun 2018 10:48:42 +0000 (12:48 +0200)]
worker: removed thread limit

Change-Id: Id35ef9a6aacfede7c7ead9df86ff44b6c8d833e4
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoMerge "task, task factory: implementation (system)"
Lukasz Stanislawski [Tue, 19 Jun 2018 09:36:38 +0000 (09:36 +0000)]
Merge "task, task factory: implementation (system)"

6 years agotask, task factory: implementation (system) 70/181370/8
Michal Kolodziejski [Tue, 12 Jun 2018 08:09:46 +0000 (10:09 +0200)]
task, task factory: implementation (system)

Change-Id: I83baf01522e4176bf90887209d4ee659b2e5a143
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoprocfs: implement reading process smaps 54/181554/3
Lukasz Stanislawski [Thu, 14 Jun 2018 16:19:05 +0000 (18:19 +0200)]
procfs: implement reading process smaps

Change-Id: I5a338ce451bc37abae16aec540797c8ec8bbea2b

6 years agoMerge "build: add compile database for libclang"
Lukasz Stanislawski [Mon, 18 Jun 2018 11:41:17 +0000 (11:41 +0000)]
Merge "build: add compile database for libclang"

6 years agoMerge "generator: remove app report generation"
Lukasz Stanislawski [Mon, 18 Jun 2018 11:41:03 +0000 (11:41 +0000)]
Merge "generator: remove app report generation"

6 years agogenerator: remove app report generation 50/181550/2
Lukasz Stanislawski [Thu, 14 Jun 2018 15:24:56 +0000 (17:24 +0200)]
generator: remove app report generation

The generation reports for Tizen applications will be
done in tasks directly.

Change-Id: I8147b5e2afe175492b2aa6090b5831c50cbb014d

6 years agoprocfs: implement reading pid utime and stime 35/181035/5
Lukasz Stanislawski [Thu, 7 Jun 2018 14:32:14 +0000 (16:32 +0200)]
procfs: implement reading pid utime and stime

Change-Id: I82d77f8aa3f4b4423615246ca56fb5385b083d5b

6 years agoworker: implementation 25/181025/10 per-core
Michal Kolodziejski [Thu, 7 Jun 2018 10:07:08 +0000 (12:07 +0200)]
worker: implementation

Change-Id: I5e3a5ac2897643fa332b69676681d00e0a968932
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoMerge "procfs: implement cpu usage"
Lukasz Stanislawski [Fri, 15 Jun 2018 10:34:54 +0000 (10:34 +0000)]
Merge "procfs: implement cpu usage"

6 years agoMerge "procfs: implement system memory usage"
Lukasz Stanislawski [Fri, 15 Jun 2018 10:34:45 +0000 (10:34 +0000)]
Merge "procfs: implement system memory usage"

6 years agoMerge "procfs: implement reading cpus count"
Lukasz Stanislawski [Fri, 15 Jun 2018 09:24:33 +0000 (09:24 +0000)]
Merge "procfs: implement reading cpus count"

6 years agoMerge "procfs: implement reading uptime"
Lukasz Stanislawski [Fri, 15 Jun 2018 09:24:22 +0000 (09:24 +0000)]
Merge "procfs: implement reading uptime"

6 years agoconfig, task_factory: api 49/180949/9
Michal Kolodziejski [Wed, 6 Jun 2018 14:32:16 +0000 (16:32 +0200)]
config, task_factory: api

Change-Id: I9955421bcee4cbcf419d27743dcde1f1b3ad5cef
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agoworker api 47/180947/8
Michal Kolodziejski [Wed, 6 Jun 2018 13:04:06 +0000 (15:04 +0200)]
worker api

Change-Id: Iceca258e72a95267d4ab706603183e8712756260
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agotask: api 54/180454/8
Michal Kolodziejski [Tue, 29 May 2018 14:07:38 +0000 (16:07 +0200)]
task: api

Change-Id: Ia1f87d94d3b96b5a46617b375c89a811be6d9fae
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
6 years agobuild: add compile database for libclang 41/181041/3
Lukasz Stanislawski [Thu, 7 Jun 2018 21:16:40 +0000 (23:16 +0200)]
build: add compile database for libclang

Change-Id: I897182a36d9c6142960203cb21e2e1e212ccd15d

6 years agoprocfs: implement cpu usage 71/181171/5
Lukasz Stanislawski [Sun, 10 Jun 2018 21:27:43 +0000 (23:27 +0200)]
procfs: implement cpu usage

Change-Id: Ic740b533722f6b3646528295d76bb43a0c01ce37

6 years agoprocfs: implement system memory usage 87/180287/5
Lukasz Stanislawski [Wed, 16 May 2018 07:24:51 +0000 (09:24 +0200)]
procfs: implement system memory usage

Change-Id: I8ccd8a2bc6a200d7d9af4d8fac170cff7fafd5b1

6 years agoprocfs: implement reading cpus count 86/180286/5
Lukasz Stanislawski [Tue, 15 May 2018 05:41:26 +0000 (07:41 +0200)]
procfs: implement reading cpus count

Change-Id: I8083f8bf5e7fb7484502ea8f9e710f9a553b9b72

6 years agoprocfs: implement reading uptime 85/180285/5
Lukasz Stanislawski [Mon, 14 May 2018 12:52:41 +0000 (14:52 +0200)]
procfs: implement reading uptime

Change-Id: Ibed295319c087196cc551f1cbb1d2384465d2c61

6 years agointerface implementation stub added. 53/181353/2
Lukasz Stanislawski [Tue, 12 Jun 2018 09:39:43 +0000 (11:39 +0200)]
interface implementation stub added.

Change-Id: Id011c4315f55344bf64019867880ed35da983b5e

6 years agoprocfs: fix warning 50/181350/1
Lukasz Stanislawski [Tue, 12 Jun 2018 09:32:52 +0000 (11:32 +0200)]
procfs: fix warning

Change-Id: I86bfb970d6bc1e26b6cdd39200473c43e0bdc144

6 years agoAdd error checking macros 84/180284/7
Lukasz Stanislawski [Mon, 14 May 2018 08:29:23 +0000 (10:29 +0200)]
Add error checking macros

Process function input argument validation using macros.

Change-Id: I8845351b9f114f0d02be4460cd4a418075935727

6 years agoprocfs: Implement reading load averages 83/180283/6
Lukasz Stanislawski [Mon, 14 May 2018 06:51:06 +0000 (08:51 +0200)]
procfs: Implement reading load averages

Change-Id: I138e545c1adca80ad34bffd41dcde78e077503c8

6 years agoAdd logger 82/180282/6
Lukasz Stanislawski [Fri, 11 May 2018 13:08:49 +0000 (15:08 +0200)]
Add logger

use dlog with TTS-TASK-WORKER tag.

Change-Id: I48c55423f7887bcb17cc30fea6daab8d14cb4b47

6 years agosplit CMakeLists 81/180281/5
Lukasz Stanislawski [Thu, 10 May 2018 08:38:16 +0000 (10:38 +0200)]
split CMakeLists

Make main CMakeLists.txt reponsible for configuring and
manifest installation only.
Make src/CMakeLists.txt reposnsible for building.

Change-Id: Ibe2c9459765bf6f894acad998ec4072c8f9b06a9

6 years agoinitial interface design 58/178358/9
Lukasz Stanislawski [Fri, 27 Apr 2018 06:27:31 +0000 (08:27 +0200)]
initial interface design

Change-Id: Ief54674697228aa481e07e12eabfc1636e97e8bf

6 years agoCreate project structure
Lukasz Stanislawski [Tue, 24 Apr 2018 13:42:23 +0000 (15:42 +0200)]
Create project structure

Change-Id: Ic584cc92fce3d408a8484b6f13bc86c8d88e2e5a

6 years agoInitial empty repository
Tizen Infrastructure [Tue, 17 Apr 2018 01:55:29 +0000 (01:55 +0000)]
Initial empty repository