Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
3 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
3 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
AJ Heller
d10617edb5
Move resource_user ownership into chttp2 transport/server/connector v2 ( #27032 )
...
Reintroducing PR #26643 , which was reverted in #27029
Fixed a memory leak and added a test that would have caught it (ASAN build): ca0c8c4
3 years ago
Craig Tiller
f5d3ed2db1
Revert "Move resource_user ownership into chttp2 transport/server/connector ( #26643 )" ( #27029 )
...
This reverts commit d1935a65a1
. Will be rolled forward with a fix.
3 years ago
AJ Heller
d1935a65a1
Move resource_user ownership into chttp2 transport/server/connector ( #26643 )
3 years ago
Esun Kim
e0d8c498a6
C++ cast for others
4 years ago
Esun Kim
ec0b88a5d7
Fix google-readability-casting
4 years ago
capstan
131579d52d
Roll forward of commit 7883b51: Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
This reverts commit da66b7d14e
.
NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440
.
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
4 years ago
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
4 years ago
capstan
7883b5133d
Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
4 years ago
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Esun Kim
c736cf073c
Added call to grpc::testing::TestEnvironment in more tests
4 years ago
Esun Kim
e18ed03c04
Made gRPC inialized after entering main function in microbenchmarks.
6 years ago
ncteisen
40ec89ff67
Support microbenchmarks internally
7 years ago
Vijay Pai
cdddc8ce42
Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity)
7 years ago
Jan Tattermusch
889bb7fde4
calling create in default param is against code style
7 years ago
Jan Tattermusch
18f27376c5
avoid touching stats_ instance field before base constructor
7 years ago
Jan Tattermusch
12ba4b1e05
make grpc_passthru_endpoint_stats refcounted
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
ncteisen
6dc1097c5e
Fix test cert build
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Vijay Pai
cb36615ddd
GPR_ATTRIBUTE_NO_TSAN doesn't reach through function calls, so use a friend
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Craig Tiller
f83b6ce151
Fix compilation
7 years ago
Craig Tiller
2145d2cee4
clang-format
7 years ago
Craig Tiller
4048569477
Fix compilation
7 years ago
Craig Tiller
710334577c
Fix sanity
7 years ago
Craig Tiller
f7225eb5f6
Fix some stalling in bm_fullstack_trickle, also switch to synthetic time
7 years ago
Alok Kumar
6b84005651
Add independent library targets for newly added .h files for microbenchmarks. Also fix includes in fullstack_fixtures.h
7 years ago
Craig Tiller
ed26a49b2c
Add annotation
7 years ago
Craig Tiller
c1453ca8c2
Revert "Annotate benign race"
...
This reverts commit 6869da4d65
.
7 years ago
Craig Tiller
6869da4d65
Annotate benign race
7 years ago
Craig Tiller
b675e0a0af
Annotate benign race
7 years ago
ncteisen
c302eb9840
Microbenchmarks work with bazel
7 years ago
jiangtaoli2016
3aaa5ea028
minor fix
7 years ago
ncteisen
3c909d55fd
Pull out flow control objects
7 years ago
ncteisen
06f052b35d
Get rid of local window, fix qps worker
7 years ago
ncteisen
268a82398c
Pull flow control into one module
7 years ago
ncteisen
131d2f19a1
Few more bm trickle fixes
8 years ago
ncteisen
0911b1612a
Fix bm_diff
8 years ago