Commit Graph

16 Commits

Author SHA1 Message Date
Craig Tiller 143e7bf0cf Introduce a clock type field onto gpr_timespec.
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
2015-07-13 08:41:49 -07:00
Vijay Pai 372fd8791b Revert "Revert "Open loop sync/async multithreaded testing"" 2015-06-08 13:30:08 -07:00
Craig Tiller d55636d813 Revert "Open loop sync/async multithreaded testing" 2015-06-08 10:12:46 -07:00
Vijay Pai cf3fb092cc clang-format 2015-06-05 03:41:30 -07:00
Vijay Pai 9dc5c15b56 Account for time difference in mac and linux 2015-06-03 11:34:53 -07:00
vjpai 3beb20c3e2 Support use of high_res clock in timepoints 2015-06-02 13:58:44 -07:00
Nicolas Noble 89219162dd Refactoring std::chrono out. 2015-04-08 05:42:08 +02:00
Yang Gao cdb2a6e071 Protect on some overflow scenarios, add a test and build/run the test 2015-03-20 23:55:04 -07:00
Yang Gao 6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07: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 ecd49345b5 Use clang-format-3.5 2015-01-18 14:36:47 -08:00
yangg ed5e7e006b Add deadline API on server side.
Change on 2015/01/06 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83351442
2015-01-06 17:45:46 -08:00
rsilvera 081e3200c8 Add missing casts to enable compilation with gcc 4.7
Change on 2014/12/16 by rsilvera <rsilvera@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82275653
2014-12-16 17:25:22 -08:00
yangg 87da1b937d Make the default deadline gpr_inf_future to avoid mismatch between
gpr_inf_future and time_point::max(). The redundant AbsoluteDeadline prefix is removed from the utility function names.

Now the ClientContext holds a gpr_timespec instead of a time_point.

A test will be added in the server side deadline support cl.
	Change on 2014/12/11 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81920769
2014-12-12 16:08:10 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00