Yang Gao
6baa9b67ad
clang-format c++ code
2015-03-17 10:49:39 -07:00
Chilledheart
4be94b9541
Add missing GRPC_OVERRIDE, NFC
...
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
2015-03-10 00:46:10 +08:00
Craig Tiller
68de8e91cc
Merge github.com:grpc/grpc into credit
2015-03-05 15:45:46 -08:00
Craig Tiller
43ef582e42
override --> GRPC_OVERRIDE
2015-03-04 20:01:09 -08:00
Craig Tiller
78524b75d7
Compile fix
2015-03-04 17:13:03 -08:00
Craig Tiller
2eaf1596bb
ACTUALLY set the server thread pool
2015-03-04 14:47:18 -08:00
Craig Tiller
a182bf12b0
clang-format
2015-03-04 13:54:39 -08:00
Craig Tiller
50a976f56c
Linux compile fix
2015-03-04 13:40:52 -08:00
Craig Tiller
96cca4e83a
Merge branch 'qps_driver' of github.com:ctiller/grpc into qps_driver
2015-03-04 13:40:06 -08:00
Craig Tiller
c98bef7303
Compile fix
2015-03-04 13:01:21 -08:00
Craig Tiller
a8dc37a2dd
Rename some files
2015-03-04 12:56:00 -08:00
Craig Tiller
d6479d6cc4
Async server works
2015-03-04 12:50:11 -08:00
Craig Tiller
ef63839042
Async client works
2015-03-04 12:23:12 -08:00
Craig Tiller
e38ec21122
Linux compile fix
2015-03-04 11:19:15 -08:00
Craig Tiller
d1e18faefc
Async client progress
2015-03-04 10:51:03 -08:00
Craig Tiller
8856875900
Async client progress
2015-03-04 10:50:43 -08:00
Craig Tiller
f282514389
Print resource utilization
2015-03-03 17:15:36 -08:00
Craig Tiller
d701c5f5c3
Formatting
2015-03-03 16:05:04 -08:00
Craig Tiller
76877c3f66
Generate latencies in driver
2015-03-03 16:04:23 -08:00
Craig Tiller
e70a0cc7e5
Merge github.com:grpc/grpc into qps_driver
2015-03-03 15:21:34 -08:00
Craig Tiller
10923c2fb5
Formatting
2015-03-03 14:24:49 -08:00
Craig Tiller
e7460e87d3
Merge github.com:grpc/grpc into credit
2015-03-03 13:48:40 -08:00
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.
2015-03-02 22:42:10 -08:00
Craig Tiller
26598a394a
WIP
2015-03-02 16:16:00 -08:00
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
Craig Tiller
3e9cbc749a
Merge github.com:grpc/grpc into qps_driver
2015-03-02 09:15:23 -08:00
Craig Tiller
61691f92c3
Merge github.com:grpc/grpc into credit
2015-03-02 08:51:52 -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
Craig Tiller
8ecb170151
Fix that race better
2015-02-24 17:08:23 -08:00
Craig Tiller
2f3fa9acff
Fix linux compile bug
2015-02-24 17:04:22 -08:00
Craig Tiller
2d0f36c84b
Driver to client/server kind of works
2015-02-23 23:16:17 -08:00
Craig Tiller
4ef7a29f31
Create server/client lists
2015-02-23 17:29:01 -08:00
Craig Tiller
4f7a1ff6ad
'Fix' a race
2015-02-23 17:16:56 -08:00
Craig Tiller
e48601934d
Getting the driver pieces in place
...
Driver logic not implemented yet
2015-02-23 17:10:41 -08:00
Craig Tiller
5c004c68de
Driver changes
...
WIP - things compile again after a broad set of changes preparing for
the driver code.
2015-02-23 16:31:57 -08:00
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
2015-02-23 09:58:23 -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