Commit Graph

297 Commits

Author SHA1 Message Date
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -07:00
yang-g 730055d962 implementation fix 2015-08-27 12:29:45 -07:00
yang-g 3e4bd9598b merge with head 2015-08-24 15:54:07 -07:00
Vijay Pai e8a7e30a75 Eliminate public thread-pool interface 2015-08-24 10:52:33 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
yang-g 8c2be9f228 Remove ChannelInterface and replace it with Channel 2015-08-19 16:28:09 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -07:00
Vijay Pai 3ae11042fd clang-format 2015-08-11 22:43:14 -07:00
vjpai b1db869e1a Address concerns from review 2015-08-11 22:41:02 -07:00
Vijay Pai ad3e00c220 Stop using a variable-sized array since that's not standards-compliant 2015-08-07 17:21:08 +00:00
Vijay Pai 90e7369484 clang-format plus helpful comments 2015-08-05 19:15:36 -07:00
Vijay Pai eed63fa267 Remaining changes needed to get QPS test working on old compilers.
This change contains a lot of ugly changes, such as changing
std::vector to allocation by new, etc.
2015-08-05 23:08:34 +00:00
Vijay Pai bc78c2069c Eliminate use of this_thread::sleep_until 2015-07-31 11:24:06 -07:00
Vijay Pai 784005b4a2 Eliminate lambda used as CV predicate 2015-07-31 10:53:42 -07:00
Vijay Pai 458faa98ce Eliminate user of lambda in server definition 2015-07-31 10:30:13 -07:00
Vijay Pai 4d06e2eae9 Eliminate use of lambdas in ResourceUsage processing functions...
Introduce simple getters instead.
2015-07-31 10:20:42 -07:00
Vijay Pai ab1dba72dc clang-format 2015-07-31 09:09:09 -07:00
vjpai 09d0b0cf47 Remove lambdas from state machine functions 2015-07-31 08:39:54 -07:00
vjpai e88bb07895 Switch a push_back to emplace_back to avoid being interpreted
as a copy constructor
2015-07-31 08:39:31 -07:00
vjpai a9e08303d7 Remove lambda from client definition 2015-07-31 07:55:06 -07:00
vjpai 51b48176ca Merge branch 'master' into asklipion 2015-07-31 07:34:47 -07:00
Craig Tiller 94fad8119e Tune down number of channels for qps_test 2015-07-30 07:55:02 -07:00
vjpai 582c687b4c Remove use of C++11 randomization engines 2015-07-27 16:39:28 -07:00
Yang Gao 2a31304d7f Merge pull request #2647 from vjpai/deepend
Dynamic-sized thread pool
2015-07-24 23:08:27 -07:00
Vijay Pai d2a9b6da13 Isolate nullptr to grpc namespace when we must define it ourselves
Change the one non-namespace use of nullptr to NULL (used as an
argument to a C function anyway)
2015-07-25 00:56:33 +00:00
Vijay Pai 1f3e6c1ebe Start switching everything to dynamic pool 2015-07-23 16:18:21 -07:00
Craig Tiller 0dc5e6cf16 User agent string support 2015-07-18 20:39:34 -07:00
Vijay Pai f87a0984ab Merge pull request #2470 from ctiller/i-want-to-wait-free
Lock free requested call fulfillment path
2015-07-17 16:05:28 -07:00
Craig Tiller c9fef6f521 Merge github.com:grpc/grpc into no-worries-i-can-wait 2015-07-17 14:41:12 -07:00
Craig Tiller af26143b6f Merge github.com:grpc/grpc into i-want-to-wait-free 2015-07-17 14:36:45 -07:00
vjpai a2e1bb1577 Change name of thread_pool files to fixed_size_thread_pool when
appropriate
2015-07-15 16:49:49 -07:00
Vijay Pai 69f2410086 Make thread_pool.h a public header
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
2015-07-15 12:33:37 -07:00
Craig Tiller ca83dc8109 Adjust oustanding request count to meet new server algorithm 2015-07-15 11:43:26 -07:00
Craig Tiller 677c50c92a Update C++ impl 2015-07-13 10:49:06 -07:00
Vijay Pai d1c9254029 Merge pull request #2289 from ctiller/footprints-on-the-sands-of-time
Introduce multiple clocks to GPR
2015-07-10 16:43:58 -07:00
Craig Tiller 2c3a35e5cf Make naming a little more consistent 2015-07-10 14:06:00 -07:00
Craig Tiller 547fed4e8b Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
Conflicts:
	src/core/channel/client_setup.c
	src/core/surface/init.c
2015-07-07 13:52:53 -07:00
Yang Gao d426864934 Merge pull request #2279 from vjpai/openleaks
qps_test memory leak elimination: delete spare contexts lying around at the end of test
2015-07-06 13:34:25 -07:00
Craig Tiller a368bd26d1 Merge github.com:grpc/grpc into footprints-on-the-sands-of-time 2015-07-06 11:04:14 -07:00
Craig Tiller 20b5fe9282 Fixup C++ 2015-07-06 10:43:50 -07:00
Vijay Pai 775eaec770 Merge pull request #2151 from sidrakesh93/master
Changes required for reporting metrics to performance database server
2015-07-06 10:13:59 -07:00
Craig Tiller 27df2cf69c Pluck some low hanging concurrency fruit
Make the shutdown flag on servers be per thread to save contention on
the lock that must guard it.
2015-07-01 15:11:29 -07:00
Vijay Pai 13735d5d7e if->while 2015-07-01 14:00:08 -07:00
Vijay Pai 5606199585 Delete spare contexts lying around at the end of the test to avoid
showing up as memory leaks

Also reduce the rate of the openloop test - this may be an issue with
sanitizers particularly because of issue #2278
2015-07-01 13:39:48 -07:00
Vijay Pai e2980cd0b3 Eliminate data-race caused by specialization in vector<bool> 2015-07-01 09:38:20 -07:00
Siddharth Rakesh a90c81ea61 Removing this pointers 2015-06-30 20:29:35 -07:00
Siddharth Rakesh fd1a20a667 Changes introduced for passing hashed user id instead of access token 2015-06-30 16:38:32 -07:00
Siddharth Rakesh 872e8187c2 Adding required changes 2015-06-29 13:06:25 -07:00
Siddharth Rakesh 268e59063a Adding required changes 2015-06-29 12:20:43 -07:00
Vijay Pai d4bfa95d3c Merge pull request #2169 from ctiller/no-spam-for-you
Remove spammy line (this is obfuscating testing logs)
2015-06-29 10:26:48 -07:00