Vijay Pai
1077b3435c
Use range-based for on state rather than state.KeepRunning when possible
2019-08-29 11:27:00 -07:00
Esun Kim
e18ed03c04
Made gRPC inialized after entering main function in microbenchmarks.
2019-05-02 16:58:37 -07:00
ncteisen
40ec89ff67
Support microbenchmarks internally
2018-04-25 17:41:23 -07: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
7486144de0
Merge master
2017-11-21 16:52:06 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
ncteisen
3039b37a0e
Fix bad merge
2017-11-15 18:24:05 -08:00
ncteisen
df817f3e1a
Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details
2017-11-15 16:48:19 -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
ncteisen
1037216ca1
Merge branch 'master' of https://github.com/grpc/grpc into surfacing-error-details
2017-11-13 08:04:23 -08:00
ncteisen
40737d67ee
Add error string to recv status API
2017-11-13 08:02:35 -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
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
Craig Tiller
89c1428a60
Propagate grpc_millis further
2017-07-19 15:32:27 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble
8e0684b5d4
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
2017-03-27 18:50:04 +02:00
Nicolas "Pixel" Noble
ddab452096
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
2017-03-22 18:30:44 +01:00
ncteisen
91220dc793
Added benchmark to show static vs copied
2017-03-13 21:18:58 -07:00
ncteisen
4b36a3d9ea
Change error_create API to slice
2017-03-13 20:19:47 -07:00
ncteisen
bbb3801e48
Change error get/set API to grpc_slice
2017-03-10 22:25:25 -08:00
ncteisen
ceddd29391
Address github comments
2017-03-09 19:02:31 -08:00
Craig Tiller
af11581260
Merge github.com:grpc/grpc into cpp_bazelness
2017-03-09 15:09:34 -08:00
Noah Eisen
a3e5801e2e
s/realloc/gpr_realloc to fix mem bug
2017-03-09 10:54:07 -08:00
Noah Eisen
a885d00a38
Merge branch 'master' of https://github.com/grpc/grpc into error-arena-optimization
2017-03-09 10:13:34 -08:00
ncteisen
55337bb317
Error arena optimization
2017-03-08 15:38: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
bf515b6f7f
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-24 16:23:50 -08:00
ncteisen
2f15e9b456
Add new bm_error test to exercise error_set_xxx
2017-02-17 16:29:22 -08:00
Craig Tiller
5663953cb4
Fix compilation on Linux
2017-02-16 09:10:22 -08:00
Craig Tiller
264307fa3d
Add benchmarks for grpc_error
2017-02-16 09:07:45 -08:00