Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Vijay Pai
5d7e4bb301
Stop using deprecated gtest macros
5 years ago
Soheil Hassas Yeganeh
bdd3fdddb2
Expose cycle counter and use it /channelz.
...
We are using clock real time (which is very expensive) on every
RPC to update channelz. We should simply use cycle clock.
This patch exposes cycle clock, enables RDTSC on intel,
and use it for channelz.
This patch also changes the implementation of time_precise_init
to that more accurately using the monotonic clock and
shorter by looping at most a few hundred milliseconds.
This is part of a larger performance series.
5 years ago
Mark D. Roth
cfb31818ef
Remove channelz from LB policy API.
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
ncteisen
693f46841a
Add GetServer to core
6 years ago
ncteisen
a3400a8fcb
Add a test with more edge cases
6 years ago
ncteisen
d6d5d21c0a
Add bin search to gettopchannels and getservers
6 years ago
ncteisen
8e666499a9
reveiwer feedback
6 years ago
ncteisen
9cf66fbb67
Add tests
6 years ago
ncteisen
636393d719
reviewer feedback
6 years ago
ncteisen
4377cbadaf
Support channelz pagination
6 years ago
ncteisen
10f995d283
Enable channelz by default
6 years ago
ncteisen
3c2024c6af
reviewer comments
6 years ago
ncteisen
dd5fd814f3
reviewer feedback
6 years ago
ncteisen
f906185200
Shard channelz stats by CPU
6 years ago
ncteisen
a64cb54de1
Channel trace is limited by memory
6 years ago
ncteisen
fe1f7f5813
reviewer feedback
6 years ago
ncteisen
be8844bcdb
reviewer feedback
6 years ago
ncteisen
3aa987a29a
Add channelz server support
6 years ago
ncteisen
58db94e5d9
reviewer comments
6 years ago
ncteisen
bfdfe9fefb
Restructure heirarchy
6 years ago
ncteisen
f081cf67d1
refactor
6 years ago
ncteisen
8cb2d0c64a
Restructure everything
6 years ago
ncteisen
bbee13661c
Add channelz subchannel support
6 years ago
ncteisen
b86a744751
Expose GetChannel and GetTopChannels Core API
6 years ago
ncteisen
5d373c40bd
reviewer feedback
6 years ago
ncteisen
97066fd0e4
Support for GetTopChannels
6 years ago
ncteisen
1ab1287ac7
Reviewer feedback
7 years ago
ncteisen
4d1da600b5
Fix ASAN and sanity
7 years ago
ncteisen
c7166ae67d
Make channelz an opt in feature
7 years ago
ncteisen
16280c7398
Remove unused API
7 years ago
ncteisen
6c987cbf09
Rename channelz Channel to ChannelNode
7 years ago
ncteisen
b8a52e0cf3
Add new end2end test for channelz
7 years ago
ncteisen
9b488f788b
Review feedback
7 years ago
Noah Eisen
ea424b88fa
clang fmt
7 years ago
ncteisen
d23739eda3
Reviewer feedback
7 years ago
ncteisen
c845ba66f3
Reviewer feedback
7 years ago
ncteisen
9a1bb05181
Build out the channelz unit test
7 years ago
ncteisen
c3c6e064b3
Add basic support for GetChannel
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
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
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
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
295df6da9a
Add a slice type that shares a refcount with a transport stream
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
b7f3f6eec4
Fix copyright
9 years ago