Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Sree Kuchibhotla
14b701c114
Use nullptr instead of NULL. Move test to grpc namespace so that when using gcc4.4, we use nullptr definition in grpc++/impl/codegen/config.h
8 years ago
Sree Kuchibhotla
cb4cd3dc5d
make gcc4.4 happy
8 years ago
Sree Kuchibhotla
3fc578345d
Change std::atomic_int to gpr_atm since gcc4.4 is complaining
8 years ago
Sree Kuchibhotla
069c12de23
Fix thread_manager_test
8 years ago
Sree Kuchibhotla
85399f0824
clang formatting fixes
8 years ago
Sree Kuchibhotla
6135535ca7
Minor changes and called generate_projects.sh again
8 years ago
Sree Kuchibhotla
920ed0c418
Modify Thread manager test
8 years ago
Sree Kuchibhotla
385c9b2f05
Address code review comments
8 years ago
Sree Kuchibhotla
d39f40da9e
Fix include files
8 years ago
Sree Kuchibhotla
8f7739bcd6
Rename GrpcRpcManager -> ThreadManager
8 years ago
Sree Kuchibhotla
acd64db4d9
Minor changes
8 years ago
Sree Kuchibhotla
a7a21d2049
Make sync server settings configurable
8 years ago
Sree Kuchibhotla
18d3ace7db
fix test
8 years ago
Sree Kuchibhotla
0ba41907a2
Minor changes to GrpcRpcManager
8 years ago
Sree Kuchibhotla
8600438d54
Add more functionality (no cq integration yet) and add a dummy test
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
vjpai
21e5d2b2f1
Add a Quit RPC so that we can conveniently shut down the workers from the driver.
9 years ago
vjpai
2c42bb1d18
Copyright fixes for sanity
9 years ago
Vijay Pai
d3ea2708cc
Re-enable explicit specification of server port for qps worker. Also
...
add in a check that we don't try to use generic testing for sync or unary.
9 years ago
vjpai
72a6332138
QPS worker no longer needs to specify server port on command line. This is part
...
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
Craig Tiller
677c50c92a
Update C++ impl
10 years ago
Craig Tiller
20b5fe9282
Fixup C++
10 years ago
Craig Tiller
f75fc12e3a
Add a test that headers are properly in build.json
...
Clean up anything that failed
10 years ago
Craig Tiller
5c8737d171
clang-format qps code - it was getting out of hand
10 years ago
David Garcia Quintas
feb67f67dc
Replaced std::this_thread::sleep_for for gpr_sleep_until.
...
std::this_thread::sleep_for isn't available in gcc <= 4.6 (4.7?) nor
VS2010.
10 years ago
zeliard
3e3e0ad348
merge from upstream (grpc) master
10 years ago
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
10 years ago
Yang Gao
103837ee6b
Wrap ParseCommandLineFlags in InitTest
10 years ago
Craig Tiller
e9a6eb7332
Allow RunScenarios to spawn in-process workers
...
This allows us to get back to single binary tests where appropriate, which will help in-depth profiling efforts.
I've built this atop my smoke_test changes as they inspired me to get this done.
10 years ago
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
10 years ago
Vijay Pai
f2554d051b
Revive proper SIGINT handling
10 years ago
Vijay Pai
54e16ee548
Put in calls to profiling
10 years ago
vjpai
653803e310
Make RPC type configurable
10 years ago
vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
10 years ago
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
10 years ago
Craig Tiller
78524b75d7
Compile fix
10 years ago
Craig Tiller
50a976f56c
Linux compile fix
10 years ago
Craig Tiller
c98bef7303
Compile fix
10 years ago
Craig Tiller
d6479d6cc4
Async server works
10 years ago
Craig Tiller
8856875900
Async client progress
10 years ago
Craig Tiller
76877c3f66
Generate latencies in driver
10 years ago
Craig Tiller
10923c2fb5
Formatting
10 years ago
Craig Tiller
6af9ed0bf7
Rework QPS client/server
...
Now setup as a driver and N anonymous workers that may become clients or servers.
Will convert async soon.
10 years ago
Craig Tiller
26598a394a
WIP
10 years ago