Commit Graph

40 Commits

Author SHA1 Message Date
Craig Tiller bbf85f4ee7 Merge github.com:grpc/grpc into optionalize_census 2016-03-31 13:09:50 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller 8f8e9f9b53 Build Census as a grpc plugin 2016-03-29 09:41:28 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller 2e1903638e Fix copyrights 2016-03-25 14:33:26 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
murgatroid99 7a55684a13 Clang format and fix copyrights 2016-02-05 11:33:30 -08:00
murgatroid99 309830f6b8 Replace 'long' with 'int64_t' in public core headers 2016-02-05 11:30:00 -08:00
Craig Tiller 7536af02cf Eliminate gpr_ int types - and insist on C99 variants instead 2015-12-22 13:49:30 -08:00
Craig Tiller 71a0f9d3b0 Fix clang-format script 2015-09-28 17:22:01 -07:00
Craig Tiller a82950e683 clang-format all core files 2015-09-22 12:33:20 -07:00
Craig Tiller 45724b35e4 indent pass to get logical source lines on one physical line 2015-09-22 10:42:19 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -07:00
Craig Tiller 58bbc864ba Updating wrapped languages to new time functions 2015-07-13 09:51:17 -07:00
Craig Tiller 143e7bf0cf Introduce a clock type field onto gpr_timespec.
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
2015-07-13 08:41:49 -07:00
Craig Tiller f3756c1e0d Introduce multiple clocks to GPR 2015-07-01 17:21:01 -07:00
Nicolas "Pixel" Noble 1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller 8ad8a41a84 Introduce slowdown factor for unit test deadlines
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
2015-02-25 08:36:40 -08:00
Craig Tiller 54f9a65f1e 32 bit compilation fixes for core 2015-02-19 21:41:20 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller 1d2e21962e Server progress 2015-02-09 15:25:21 -08:00
Hongyu Chen 2bfbfe8bfa prefix struct & functions in census_tracing.h per ctiller's suggestion. 2015-02-05 16:12:26 -08:00
Alistair Veitch c0ef1ded55 Update trace_test.c 2015-02-05 11:53:27 -08:00
Hongyu Chen 1ef06e6285 V0 implementation of census_get_active_ops(). 2015-02-04 10:36:04 -08:00
Nicolas "Pixel" Noble 213ed91850 Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors. 2015-01-30 02:11:35 +01:00
Alistair Veitch 4d9f3d7b63 Merge pull request #167 from maxwell-demon/master
Fix census_log_tests on platforms with only one core.
2015-01-27 17:31:23 -08:00
Craig Tiller ec46f5fbd2 Remove use of *printf 2015-01-23 15:08:40 -08:00
maxwell-demon 164ac96024 Fix census_log_tests on platforms with only one core. 2015-01-22 23:20:48 +00:00
Craig Tiller ecd49345b5 Use clang-format-3.5 2015-01-18 14:36:47 -08:00
Craig Tiller 32946d37e0 () --> (void) 2015-01-15 11:37:30 -08:00
hongyu 99e317a8f8 grpc census hash_table test coverage improvements.
Change on 2015/01/12 by hongyu <hongyu@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83786701
2015-01-12 14:11:52 -08:00
hongyu 440d3d8198 Grpc census: v0 trace_printf() implementation in C.
Change on 2015/01/09 by hongyu <hongyu@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83626942
2015-01-12 11:22:01 -08:00
Nicolas Noble 362b9dcfc9 Merge github.com:google/grpc 2015-01-09 18:05:07 -08:00
ctiller 8bf337bedf Fix test under msan
Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83609353
2015-01-09 17:55:21 -08:00
hongyu 24200d3cbc C implementation of Census trace store and stats store for grpc C lib.
Change on 2015/01/08 by hongyu <hongyu@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83556470
2015-01-09 17:52:43 -08:00
Craig Tiller a6899be634 Fix a compiler warning. 2015-01-09 12:54:01 -08:00
aveitch 482a5be0b9 Fix a bug in base-log, and add test.
The tests compute usable space in the log, but do so using subtraction on unsigned values and did not correctly account for number of blocks used per-core. This could lead underflow, and an incorrect space calculation.

In addition, testing showed that with current defaults, tests would fail on a system with > ~64 cores. This can be alleviated through use of a larger log. An explicit
check in the log initialization has been added for this case, and the log size increased if necessary.
	Change on 2014/12/15 by aveitch <aveitch@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82154432
2014-12-15 14:36:22 -08:00
nnoble 8a67b5c281 Tweaking log calls a bit.
-) Introducing gpr_vlog so to spare a few vsprintf later (at least one for now)
-) Renaming statistics/log.* to statistics/census_log.* to avoid collisions.
	Change on 2014/12/12 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81995756
2014-12-12 16:20:22 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00