xtao
7766912dda
fix more detected mu/cv leaks
2019-02-16 00:00:50 +08:00
Noah Eisen
e8157e662c
remove unnecessary blank line
2018-05-24 17:48:27 -07:00
Noah Eisen
39a6bb6c3e
Fix asan closure bug
2018-05-24 17:07:25 -07:00
ncteisen
40ec89ff67
Support microbenchmarks internally
2018-04-25 17:41:23 -07:00
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
2018-01-18 11:21:12 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
2017-11-14 18:11:22 -08:00
Yash Tibrewal
75122c2357
Address some PR comments
2017-11-14 01:36:28 -08:00
Craig Tiller
be98d24841
clang-format after nullptr changes
2017-11-10 15:26:57 -08:00
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
2017-11-10 14:14:17 -08:00
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
2017-11-09 18:27:37 -08:00
Yash Tibrewal
4e9265c828
Merge with master
2017-11-09 17:46:29 -08:00
Yash Tibrewal
40422d5fa6
Merge master
2017-11-06 14:43:31 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
2017-10-25 17:04:35 -07:00
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.
2017-10-18 17:12:19 -07:00
ncteisen
274bbbe6a0
Add rich closure debug mode
2017-06-08 15:29:29 -07:00
Craig Tiller
b3899fd18b
Merge github.com:grpc/grpc into ALL-the-things
2017-06-08 07:54:10 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Craig Tiller
38e94c2805
Fix C++ build
2017-05-17 08:08:45 -07:00
Craig Tiller
af11581260
Merge github.com:grpc/grpc into cpp_bazelness
2017-03-09 15:09:34 -08:00
Craig Tiller
e4a2419597
Bugfixes
2017-03-03 08:53:52 -08:00
Craig Tiller
5e3215338f
Move helpers to a common place, use them everywhere
2017-03-03 08:50:25 -08:00
Craig Tiller
edbf2b9d13
Add a spinlock type.
...
Useful for situations where we need to repeatedly trylock, not useful
for cases where we need to lock (due to spinning).
Add a variant of sync_test to test it (with the same tests we run for
gpr_mu).
Add a benchmark to bm_closure to demonstrate single threaded performance.
2017-02-27 07:24:00 -08:00
Craig Tiller
bf515b6f7f
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-24 16:23:50 -08:00
Craig Tiller
7f4d30a032
Separate CAS/ADD RMWs
2017-02-21 10:24:00 -08:00
Craig Tiller
f3dec9c995
Add counters for rmw atomic operations to microbenchmarks
2017-02-21 10:02:31 -08:00
Craig Tiller
f4ea01b71a
Complete microbenchmarks
2017-02-17 15:21:11 -08:00
Craig Tiller
4dde8b277d
Fix stack corruption
2017-02-13 12:44:14 -08:00
Craig Tiller
96f8728b06
Add a comparison benchmark of acquiring a mutex
2017-02-13 12:39:12 -08:00
Craig Tiller
b3f34b6c2b
Add benchmarks of closures, combiners, exec_ctx primitives
2017-02-13 10:29:33 -08:00