Yash Tibrewal
3a189d7e08
test changes
5 years ago
Vijay Pai
82e185399d
clang-format
5 years ago
Vijay Pai
6ca827a008
Remove unused parameter warning (18 of 20)
5 years ago
Vijay Pai
1077b3435c
Use range-based for on state rather than state.KeepRunning when possible
5 years ago
Yash Tibrewal
9345b7e276
s/atleast/at\ least
6 years ago
Guantao Liu
872d2787a0
Avoid using grpc_core::Executor when the background poller is available.
...
Instead, run closures in the background poller. This will generally
avoid the thread hop in the gRPC runtime.
6 years ago
Guantao Liu
11eff929e2
Avoid the thread jump in server callback APIs.
...
Add a utility function in iomgr to check whether the caller thread is a
worker for any background poller, and keep grpc combiner from offloading
closures to the default executor if the current thread is a worker for
any background poller.
6 years ago
Guantao Liu
458d9d28db
Add the missing definition of shutdown_background_closure to bm_cq_multiple_threads
6 years ago
Vijay Pai
a4326eb7b8
Add comment to address reviewer comment
6 years ago
Vijay Pai
a0e92e7727
Add proper synchronization so that stats are setup and destroyed cleanly
6 years ago
Vijay Pai
9043a4f56d
Some cleanup
6 years ago
Vijay Pai
17e3611c0d
Infrastructure for adding custom polling engines
6 years ago
ncteisen
40ec89ff67
Support microbenchmarks internally
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
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
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
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
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
8e87c74fe9
Fix compilation for C++
7 years ago
yang-g
7d6b914f98
Change return type to bool
7 years ago
yang-g
0eaf7debd2
Allow adding events to cq after shutdown is called.
7 years ago
Craig Tiller
b4bb1cdce4
Add counters, fix race
7 years ago
Craig Tiller
89c1428a60
Propagate grpc_millis further
7 years ago
Sree Kuchibhotla
a69878a217
fix memory leaks due to not calling grpc_shutdown in bm_cq_multiple_threads
8 years ago
ncteisen
969b46ef73
Add rich closure debug mode
8 years ago
ncteisen
274bbbe6a0
Add rich closure debug mode
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
cc92eb42a4
Update to new API
8 years ago
Sree Kuchibhotla
d7a1b8f856
Functionality complete
8 years ago
Sree Kuchibhotla
1f0c827114
Fix asan and tsan bugs. Simplify the code
8 years ago
Sree Kuchibhotla
93b60e05a0
Fix asan bug
8 years ago
Sree Kuchibhotla
dc0b8a60d3
change cq_create to cq_create_for_next
8 years ago
Sree Kuchibhotla
631e78c349
Print items/sec metric at the end
8 years ago
Sree Kuchibhotla
f7c673a8c7
minor change
8 years ago
Sree Kuchibhotla
2c3e7e80bd
use wallclock
8 years ago
Sree Kuchibhotla
3c754e4716
Microbenchmark for measuring impact of multiple threads calling cq_next
8 years ago