Mark D. Roth
2ea8e50c3a
use CppImplOf for grpc_server ( #28112 )
...
* use CppImplOf for grpc_server
* fix build
* fix sanity
3 years ago
Craig Tiller
6af45a35ba
Tooling to remove redundant grpc_core:: namespace references ( #28030 )
...
* Tooling to remove redundant grpc_core:: namespaces
These references tend to show up in our C++ code after C modules get
converted. Many get caught in review, many get missed.
* use it
* clang-format
3 years ago
Richard Belleville
468768865b
Make Buildifier Sanity Test Strict ( #27807 )
...
* Fix all lint errors in repo.
* Use strict buildifier by default
* Whoops. That file does not exist
* Attempt fix to buildifier invocation
* Add missing copyright
3 years ago
Yash Tibrewal
f18a0b2ac1
C++ify channel_stack_builder_test ( #27789 )
3 years ago
Esun Kim
e246811e55
Add (void) to function calls returning absl::Status ( #27761 )
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
9b41852a5e
channel_init --> core configuration system ( #27347 )
...
* channel_init --> core configuration system
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fixes
* fixes
* eliminate grpc_base_c
* fixes
* fix merge
* fix
* update visibility
* fixes
* feedback
* fix comment
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
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
Esun Kim
460898f11c
Migrated from grpc_error_string to grpc_error_std_string ( #26068 )
...
* Added grpc_error_std_string
* Migrated to grpc_error_std_string
4 years ago
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
4 years ago
Esun Kim
be761cd430
Fixed sign-compare warnings
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
Esun Kim
ec0b88a5d7
Fix google-readability-casting
4 years ago
Mark D. Roth
e1633396dc
Decouple channel creation from channelz child linkage.
4 years ago
Mark D. Roth
0b61aea1c5
Convert grpc_server to idiomatic C++.
4 years ago
Mark D. Roth
3bb427195e
Revert "Merge pull request #23053 from grpc/revert-22772-gpr_strvec"
...
This reverts commit 4b7452bcdb
, reversing
changes made to 133d0076b4
.
5 years ago
Karthik Ravi Shankar
f46c07f3f8
Revert "Remove gpr_strvec."
5 years ago
Mark D. Roth
c2ef110303
Replace gpr_strvec with absl::StrJoin().
5 years ago
Esun Kim
1be6f7aedb
Remove flaky flag from channelz_test
5 years ago
Esun Kim
8c64e96458
Fix flaky LastCallStartedTime
5 years ago
Yash Tibrewal
27dd9ec2c6
Fix minimal stack test
5 years ago
Yash Tibrewal
d24387ae4f
Removing compression from grpc_byte_buffer_reader, removing ManualConstructor in decompress filter and fixing tests
5 years ago
Yash Tibrewal
cbb3078064
Fix minimal stack and workaround cronet compression test
5 years ago
Jan Tattermusch
6738f420fd
mark channelz_test as flaky
5 years ago
Esun Kim
7a14955759
Replaced grpc_core::MakeUnique with absl::make_unique
5 years ago
Mark D. Roth
bc5e3fb661
Convert channelz code to use new JSON API
5 years ago
Esun Kim
ed44a1f430
Clean up grpc_core::MakeUnique
5 years ago
Vijay Pai
9dfa8fb2f1
Temporarily disable client_idle filter check
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Esun Kim
5a5734ff03
Use std::string for channelz
5 years ago
Vijay Pai
6352ca3682
Don't check for client_idle since client_idle is disabled
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Vijay Pai
38d87137f8
Remove unused parameter warning (3 of 20)
5 years ago
Vijay Pai
5d7e4bb301
Stop using deprecated gtest macros
5 years ago
yang-g
49b796eeb1
Clean up the test
5 years ago
yang-g
76308c0c9a
Fix sanity_check and add a test
5 years ago
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
5 years ago
Soheil Hassas Yeganeh
c9376b4e0b
Use cycle clock instead of clock monotonic to measure call latency.
...
This removes two more getttime syscalls from the hot path, when cycle
clock is enabled.
5 years ago
Esun Kim
e0b94db1b9
Enforce abstract class rule
5 years ago
Qiancheng Zhao
1391c93a95
atomic client idle filter
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
Hope Casey-Allen
bd8a04a6e9
Add human-readable names for channelz sockets and listen sockets
5 years ago
Mark D. Roth
f9fcdc015d
Convert ChannelzRegistry to use Map<> instead of InlinedVector<>.
6 years ago
Mark D. Roth
cfb31818ef
Remove channelz from LB policy API.
6 years ago
Mark D. Roth
76508bd450
Change ChannelzRegistry::Get() to return a RefCountedPtr<>.
6 years ago