]>
git.ipfire.org Git - thirdparty/collectd.git/log
Barbara Kaczorowska [Wed, 19 Aug 2020 09:48:35 +0000 (11:48 +0200)]
Format Makefile.am
Barbara Kaczorowska [Wed, 19 Aug 2020 08:21:00 +0000 (08:21 +0000)]
clang format
Barbara Kaczorowska [Wed, 19 Aug 2020 08:20:17 +0000 (08:20 +0000)]
Remove debug messages
Barbara Kaczorowska [Wed, 19 Aug 2020 08:19:22 +0000 (08:19 +0000)]
Fix seg fault in tests
Barbara Kaczorowska [Wed, 19 Aug 2020 07:50:23 +0000 (07:50 +0000)]
Remove debug messages
Barbara Kaczorowska [Wed, 19 Aug 2020 07:20:55 +0000 (07:20 +0000)]
clang format
Barbara Kaczorowska [Wed, 19 Aug 2020 07:05:01 +0000 (07:05 +0000)]
Fix the bug in the uc_update function
Barbara Kaczorowska [Wed, 19 Aug 2020 06:54:21 +0000 (06:54 +0000)]
Change the signature of getters for time to return status of operation
Barbara Kaczorowska [Tue, 18 Aug 2020 23:58:10 +0000 (23:58 +0000)]
Delete finished TODOs
Barbara Kaczorowska [Tue, 18 Aug 2020 23:54:45 +0000 (23:54 +0000)]
Integrate utils_cache_test.c file with new distribution_t structure
Barbara Kaczorowska [Tue, 18 Aug 2020 23:34:37 +0000 (23:34 +0000)]
Add updating total_sum in distribution_sub function
Barbara Kaczorowska [Tue, 18 Aug 2020 23:22:22 +0000 (23:22 +0000)]
Fix bug in distribution_percentile function
This commit will add fix to the distribution_percentile function.
Before this commit, distribution_percentile function didn't check
if it received null pointer as an argument and didn't handle this
case and in result it had seg fault. Now this bug is fixed.
Barbara Kaczorowska [Tue, 18 Aug 2020 23:21:51 +0000 (23:21 +0000)]
Add implementation of distribution_sub to the distribution.c file
Barbara Kaczorowska [Tue, 18 Aug 2020 22:58:18 +0000 (22:58 +0000)]
Add VALUE_TYPE_DISTRIBUTION to the metric.h file
Barbara Kaczorowska [Tue, 18 Aug 2020 22:31:49 +0000 (22:31 +0000)]
Implement additional functions to the plugin_mock.c file
This commit will add the implementation of
plugin_dispatch_cache_event and plugin_dispatch_missing mock
functions.
Barbara Kaczorowska [Tue, 18 Aug 2020 22:27:02 +0000 (22:27 +0000)]
Delete finished TODOs
Barbara Kaczorowska [Tue, 18 Aug 2020 22:21:47 +0000 (22:21 +0000)]
clang format
Barbara Kaczorowska [Tue, 18 Aug 2020 22:21:09 +0000 (22:21 +0000)]
Fix tests for uc_get_rate_by_name function
Barbara Kaczorowska [Tue, 18 Aug 2020 21:57:55 +0000 (21:57 +0000)]
Fix tests for uc_get_percentile function
Barbara Kaczorowska [Tue, 18 Aug 2020 21:37:33 +0000 (21:37 +0000)]
Fix tests for uc_get_percentile_by_name function
Barbara Kaczorowska [Tue, 18 Aug 2020 21:03:27 +0000 (21:03 +0000)]
Add more test cases to unit tests for uc_update function
Barbara Kaczorowska [Tue, 18 Aug 2020 20:48:19 +0000 (20:48 +0000)]
Replace custom initialization functions with universal ones
Barbara Kaczorowska [Tue, 18 Aug 2020 19:46:06 +0000 (19:46 +0000)]
clang format
Barbara Kaczorowska [Tue, 18 Aug 2020 19:45:20 +0000 (19:45 +0000)]
Implement tests for uc_get_rate function
Barbara Kaczorowska [Tue, 18 Aug 2020 18:42:39 +0000 (18:42 +0000)]
Fix updating utils cache
Barbara Kaczorowska [Tue, 18 Aug 2020 18:42:03 +0000 (18:42 +0000)]
Implement draft of tests for uc_rate_by_name function
Barbara Kaczorowska [Tue, 18 Aug 2020 17:29:22 +0000 (17:29 +0000)]
Remove DS_TYPE_DISTRIBUTION define
Barbara Kaczorowska [Tue, 18 Aug 2020 17:28:20 +0000 (17:28 +0000)]
Add DS_TYPE_DISTRIBUTION to the plugin.h file
Barbara Kaczorowska [Tue, 18 Aug 2020 17:24:34 +0000 (17:24 +0000)]
Add nickname of the new author to the license
Barbara Kaczorowska [Tue, 18 Aug 2020 17:23:52 +0000 (17:23 +0000)]
Add new author to the license
Barbara Kaczorowska [Tue, 18 Aug 2020 17:20:08 +0000 (17:20 +0000)]
Add support for distribution metrics in rate functions
Barbara Kaczorowska [Tue, 18 Aug 2020 15:46:29 +0000 (15:46 +0000)]
Add functions for getting last time and update time of cache entry in avl tree
Barbara Kaczorowska [Tue, 18 Aug 2020 15:42:56 +0000 (15:42 +0000)]
Remove finished TODO in tests
Barbara Kaczorowska [Tue, 18 Aug 2020 15:40:25 +0000 (15:40 +0000)]
Add checking correctness of uc_update in tests
Barbara Kaczorowska [Tue, 18 Aug 2020 14:52:44 +0000 (14:52 +0000)]
Implement tests for uc_get_percentile_by_name function
Barbara Kaczorowska [Tue, 18 Aug 2020 10:29:28 +0000 (10:29 +0000)]
Implement tests for uc_get_percentile function
Barbara Kaczorowska [Tue, 18 Aug 2020 09:49:37 +0000 (09:49 +0000)]
Add checking if the percent argument is correct
This commit will add checking if the percent argument in
uc_get_percentile and uc_get_percentile_by_name functions is correct,
i.e. is not smaller than zero and not greater than 100.
Barbara Kaczorowska [Tue, 18 Aug 2020 06:54:37 +0000 (06:54 +0000)]
Add test for uc_update function
Barbara Kaczorowska [Mon, 17 Aug 2020 13:00:41 +0000 (13:00 +0000)]
Successfully add tests to Makefile.am
Barbara Kaczorowska [Mon, 17 Aug 2020 10:00:47 +0000 (10:00 +0000)]
Add checking status after returning from distribution_sub function
Barbara Kaczorowska [Mon, 17 Aug 2020 07:26:13 +0000 (07:26 +0000)]
Clang format
Barbara Kaczorowska [Fri, 14 Aug 2020 14:00:48 +0000 (14:00 +0000)]
Add skeleton of tests for functions from utils_test.h file
Barbara Kaczorowska [Fri, 14 Aug 2020 12:22:03 +0000 (12:22 +0000)]
Add utils_cache_test to the Makefile.am
Barbara Kaczorowska [Fri, 14 Aug 2020 11:26:03 +0000 (11:26 +0000)]
Add uc_get_percentile and uc_get_percentile_by_name functions
Barbara Kaczorowska [Fri, 14 Aug 2020 07:44:23 +0000 (07:44 +0000)]
Add prototype of uc_get_percentile function
Barbara Kaczorowska [Thu, 13 Aug 2020 12:38:10 +0000 (12:38 +0000)]
Starting implementing support for distribution metrics to the cache
This commit will begin providing support for distribution metrics to the
cache. distribution_t now is added to the cache_entry_t structure and
also to the uc_insert and uc_update functions.
Svetlana Shmidt [Wed, 19 Aug 2020 07:36:09 +0000 (12:36 +0500)]
Merge pull request #3529 from Lana243/add_squares
Add getter functions to distribution data structure
Svetlana Shmidt [Wed, 19 Aug 2020 07:26:52 +0000 (07:26 +0000)]
fix metric test
Svetlana Shmidt [Tue, 18 Aug 2020 14:00:48 +0000 (14:00 +0000)]
fix code style
Svetlana Shmidt [Tue, 18 Aug 2020 13:55:57 +0000 (13:55 +0000)]
add unit tests for getters
Svetlana Shmidt [Tue, 18 Aug 2020 13:02:03 +0000 (13:02 +0000)]
add getters for total sum and total counter. Add square deviation sum
Elene Margalitadze [Tue, 18 Aug 2020 16:09:11 +0000 (18:09 +0200)]
Merge pull request #3530 from elene-margalit/google-interns-2020
Fixed unit test to work with adjusted metric_reset function
elene-margalit [Tue, 18 Aug 2020 15:36:38 +0000 (17:36 +0200)]
Formatted code.
elene-margalit [Tue, 18 Aug 2020 15:30:08 +0000 (17:30 +0200)]
Adjusted existing unit test to work with changed metric_reset function.
elene-margalit [Mon, 17 Aug 2020 15:46:42 +0000 (17:46 +0200)]
Merge branch 'google-interns-2020' of https://github.com/collectd/collectd into google-interns-2020
Elene Margalitadze [Mon, 17 Aug 2020 15:38:24 +0000 (17:38 +0200)]
Merge pull request #3525 from collectd/revert-3523-google-interns-2020
Revert "Integrate distribution metrics into collectd core"
Elene Margalitadze [Mon, 17 Aug 2020 15:35:56 +0000 (17:35 +0200)]
Revert "Integrate distribution metrics into collectd core: add new distribution_t value to metric_type_t enum, add distribution_t* to the value_t pointer, modify function metric_reset to call distribution_destroy when appropriate, add according documentation to metric.h. Modify metric_list_clone to call distribution_clone when appropriate."
This reverts commit
ce53eb79ae455131e28c1869a28150e0c48cfad3 .
Elene Margalitadze [Mon, 17 Aug 2020 15:35:56 +0000 (17:35 +0200)]
Revert "Formatted the code."
This reverts commit
6214e862a84bf9c6613b009bdc744fa040e6c872 .
Elene Margalitadze [Mon, 17 Aug 2020 15:35:56 +0000 (17:35 +0200)]
Revert "Formatted the code."
This reverts commit
9948fdcad48786b45445eb3b85af24e1e22797e0 .
elene-margalit [Sun, 16 Aug 2020 17:31:16 +0000 (19:31 +0200)]
Formatted the code.
elene-margalit [Sun, 16 Aug 2020 17:30:13 +0000 (19:30 +0200)]
Formatted the code.
elene-margalit [Sun, 16 Aug 2020 17:18:28 +0000 (19:18 +0200)]
Integrate distribution metrics into collectd core: add new distribution_t value to metric_type_t enum, add distribution_t* to the value_t pointer, modify function metric_reset to call distribution_destroy when appropriate, add according documentation to metric.h. Modify metric_list_clone to call distribution_clone when appropriate.
elene-margalit [Mon, 17 Aug 2020 15:33:22 +0000 (17:33 +0200)]
Added unit test for metric_reset.
Svetlana Shmidt [Mon, 17 Aug 2020 15:11:03 +0000 (20:11 +0500)]
Merge pull request #3522 from Lana243/google-interns-2020
Create a benchmark for the distribution
Svetlana Shmidt [Mon, 17 Aug 2020 15:10:34 +0000 (20:10 +0500)]
Merge pull request #3524 from Lana243/project-sshmidt
Add distribution data structure
Svetlana [Mon, 17 Aug 2020 13:18:43 +0000 (13:18 +0000)]
fix distbench/Makefile.am
Svetlana [Mon, 17 Aug 2020 13:06:35 +0000 (13:06 +0000)]
fix memory leaks in clone unit test
Svetlana [Mon, 17 Aug 2020 12:41:39 +0000 (12:41 +0000)]
fix Makefile.am
Svetlana [Mon, 17 Aug 2020 11:56:09 +0000 (11:56 +0000)]
remove benchmark from Makefile
Svetlana [Mon, 17 Aug 2020 11:53:11 +0000 (11:53 +0000)]
remove benchmark csv files
Svetlana [Mon, 17 Aug 2020 11:31:54 +0000 (11:31 +0000)]
remove distribution benchmark as full benchmark was created in google-interns-2020 branch
elene-margalit [Sun, 16 Aug 2020 17:31:16 +0000 (19:31 +0200)]
Formatted the code.
elene-margalit [Sun, 16 Aug 2020 17:30:13 +0000 (19:30 +0200)]
Formatted the code.
elene-margalit [Sun, 16 Aug 2020 17:18:28 +0000 (19:18 +0200)]
Integrate distribution metrics into collectd core: add new distribution_t value to metric_type_t enum, add distribution_t* to the value_t pointer, modify function metric_reset to call distribution_destroy when appropriate, add according documentation to metric.h. Modify metric_list_clone to call distribution_clone when appropriate.
Svetlana [Fri, 14 Aug 2020 11:30:53 +0000 (11:30 +0000)]
fix the redefinition of bucket_t data structure
Svetlana [Fri, 14 Aug 2020 11:12:02 +0000 (11:12 +0000)]
fix codestyle in distribution data structure
Svetlana [Fri, 14 Aug 2020 10:55:29 +0000 (10:55 +0000)]
fix codestyle for the benchmark
Svetlana [Fri, 14 Aug 2020 10:52:08 +0000 (10:52 +0000)]
fix the codestyle
Svetlana Shmidt [Fri, 14 Aug 2020 10:35:27 +0000 (15:35 +0500)]
Merge pull request #2 from Lana243/benchmark
Benchmark
Svetlana [Thu, 13 Aug 2020 16:57:24 +0000 (16:57 +0000)]
full benchmark done
Svetlana [Thu, 13 Aug 2020 15:33:29 +0000 (15:33 +0000)]
NANOS_PER_SEC fixed
Svetlana [Thu, 13 Aug 2020 15:20:11 +0000 (15:20 +0000)]
change output style for benchmark
Svetlana [Thu, 13 Aug 2020 15:17:36 +0000 (15:17 +0000)]
add benchmark
Svetlana [Thu, 13 Aug 2020 10:38:02 +0000 (10:38 +0000)]
fix header
Svetlana [Thu, 13 Aug 2020 10:37:05 +0000 (10:37 +0000)]
fix implementations that way that they were compiled with new header
Svetlana Shmidt [Thu, 13 Aug 2020 10:01:28 +0000 (15:01 +0500)]
add bkjg implementation
Svetlana Shmidt [Thu, 13 Aug 2020 10:00:01 +0000 (15:00 +0500)]
add margalit implementation
Svetlana Shmidt [Thu, 13 Aug 2020 09:53:50 +0000 (14:53 +0500)]
add sshmidt implementation
Svetlana Shmidt [Thu, 13 Aug 2020 09:48:45 +0000 (14:48 +0500)]
Rename function.h to distribution.h
Svetlana Shmidt [Thu, 13 Aug 2020 09:46:29 +0000 (14:46 +0500)]
remove bucket_t definition from the header file
Svetlana Shmidt [Thu, 13 Aug 2020 09:45:07 +0000 (14:45 +0500)]
add header file
Svetlana [Thu, 13 Aug 2020 09:36:34 +0000 (09:36 +0000)]
change includes to collectd.h
Svetlana [Wed, 12 Aug 2020 13:01:25 +0000 (13:01 +0000)]
change benchmark
Svetlana [Wed, 12 Aug 2020 12:53:17 +0000 (12:53 +0000)]
add unit test for clone function
Svetlana [Wed, 12 Aug 2020 12:29:20 +0000 (12:29 +0000)]
add mutexes
Svetlana [Wed, 12 Aug 2020 11:57:34 +0000 (11:57 +0000)]
fix distribution clone function
Barbara Kaczorowska [Wed, 12 Aug 2020 10:29:07 +0000 (10:29 +0000)]
Merge pull request #3519 from yath/google-interns-2020
[Interns] Add a skeleton for benchmarking distribution_t.
Sebastian Schmidt [Wed, 12 Aug 2020 10:04:11 +0000 (12:04 +0200)]
Fall back to gettimeofday if there’s no clock_gettime.
Sebastian Schmidt [Wed, 12 Aug 2020 09:52:03 +0000 (11:52 +0200)]
Add missing function.h to *_SOURCES
Sebastian Schmidt [Wed, 12 Aug 2020 09:20:28 +0000 (11:20 +0200)]
Add a skeleton for benchmarking distribution_t.
This adds a “distbench” subdirectory for benchmarking different
implementations of distribution_t and three sample implementations.