Commit Graph

36 Commits

Author SHA1 Message Date
Vijay Pai acf6f318fc Better use of threads, avoid thread safety issues on destructor with
a proper join.

Also had been misusing EXPECT_EQ, as well as actually having an invalid
expectation on the ok field. Now it should be sane.
2015-03-02 15:13:39 -08:00
vjpai 4e1e1bc28e Revert "Use typedefs to avoid triply-nested function templates"
This reverts commit 45b0bc4bec.

This revert is being done because the compilers on Travis don't
understand the C++11 template/using syntax.
2015-02-27 23:47:12 -08:00
vjpai 45b0bc4bec Use typedefs to avoid triply-nested function templates 2015-02-27 16:54:17 -08:00
vjpai 5b39f9a9fb refresh -> Reset 2015-02-27 09:33:00 -08:00
vjpai 6e2e64a8b4 Stop abusing operator() overloading 2015-02-27 09:28:28 -08:00
vjpai 9440a14558 Move std::bind call out of main loop, change constructor appropriately 2015-02-27 09:19:09 -08:00
vjpai cd801c8531 <:: -> < :: 2015-02-27 07:21:31 -08:00
vjpai 3c11066217 override->GRPC_OVERRIDE 2015-02-27 07:17:16 -08:00
vjpai 1b47b12895 Merge remote-tracking branch 'upstream/master' 2015-02-26 23:16:25 -08:00
Vijay Pai 64ac47f389 clang-format all these files 2015-02-26 17:59:51 -08:00
vjpai 56c5129629 Rename Async methods from generator to avoid naming conflicts to
bind and other functions
2015-02-26 17:01:35 -08:00
vjpai dea740f329 New multithreaded async C++ tests. The server is architected the way
that it should be with multiple threads waiting on a single
completion queue.
The client currently uses a separate completion
queue per-thread, as trying to do a single unified queue was leading
to crashes for me. I need to figure that out.
2015-02-26 16:35:35 -08:00
Craig Tiller cf133f41f8 Make it possible to compile with gcc4.6 2015-02-26 14:27:05 -08:00
vjpai 5b47818d93 Some compilers not happy with <:: and need < :: instead 2015-02-20 11:42:42 -08:00
Nicolas "Pixel" Noble 7e80efcb3d Making the usage of gflags uniform across distributions. 2015-02-20 03:13:38 +01:00
Nicolas "Pixel" Noble ba6082080c Fixing gflags' include path. 2015-02-20 02:48:03 +01:00
Craig Tiller ce5021b0b9 Add missing new-lines at end of file 2015-02-18 09:25:21 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Craig Tiller f74ec4ee43 Merge github.com:grpc/grpc into copyright 2015-02-18 08:30:14 -08:00
Craig Tiller ad1fd3a49e Add proto copyrights 2015-02-16 12:23:04 -08:00
Craig Tiller 5a4f991d5d Merge github.com:grpc/grpc into c++api
Conflicts:
	test/cpp/qps/server.cc
2015-02-11 07:56:42 -08:00
Vijay Pai 4ca479c3a1 Change pointer format 2015-02-10 10:55:53 -08:00
Vijay Pai c3b02d9a67 Allow varying number of server threads via command line flag 2015-02-10 10:39:03 -08:00
Craig Tiller f8ac5d846c Fixup callers with new api 2015-02-09 16:24:20 -08:00
Vijay Pai 0ea6b435f3 Merge pull request #324 from ctiller/bench
Add pprof support to qps client, server
2015-02-01 09:31:09 -08:00
Craig Tiller 056ba544a2 Add pprof support
Starts profiling on client and server.
On client, finishes after a test.
On the server, finishes after sigint.
2015-01-31 21:15:10 -08:00
Yang Gao 5fd0d29dfe run clang-format 2015-01-26 00:19:48 -08:00
Craig Tiller 8a7a152919 Remove unused private field 2015-01-14 14:12:49 -08:00
Craig Tiller 1ee7cb0c0b Merge github.com:google/grpc into format 2015-01-13 12:39:00 -08:00
Craig Tiller bf2659f0b6 Fix qps test.
This was failing to compile.
2015-01-13 12:27:06 -08:00
vpai 92fe70e983 Added new results to report resource usage and QPS, along with new proto support for this
and also to turn the client into a server that can be controlled remotely (client part
not implemented yet)
	Change on 2015/01/13 by vpai <vpai@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83863541
2015-01-13 11:40:07 -08:00
Craig Tiller b5dcec5a2e clang-format codebase 2015-01-13 11:13:42 -08:00
yangg 59dfc90f57 Client side implementation of creating channel with credentials.
The old test_ssl_channel related code is deleted and the new create channel
call is used for interop tests.
	Change on 2014/12/19 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82540921
2014-12-29 16:59:06 -08:00
yangg a4b6f5df94 Add ServerContext. It is currently empty and deadline and metadata will come to
it in subsequent cl's.
	Change on 2014/12/17 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82372934
2014-12-19 13:02:04 -08:00
vpai 80b6d014ad Prepare QPS tests for running in GCE
Edit build.json to include qps tests and credentials
Perform required MOE edits for running qps tests in VM
Minor changes to underlying source files to support
issues like more restrictive warning flags in cloud.
	Change on 2014/12/17 by vpai <vpai@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82349829
2014-12-17 15:52:15 -08:00