summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/latencytest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Changed the names of tests which are installed in /usr/bin/ to be prefixed ↵Kim van der Riet2010-05-241-469/+0
| | | | | | with "qpid-". This will make these generic names easier to associate with qpid. (BZ577353) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@947678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1904: Ensure that all timestamp uses are correctly relative to 1/1/1970 ↵Andrew Stitcher2010-04-231-2/+2
| | | | | | | | | | epoch. - Removed the hacky way to access the internal time value in AbsTime now that there is a defined AbsTime value EPOCH. - Changed all the code to use Duration(EPOCH, abtime) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@937147 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up namespace usageAndrew Stitcher2009-09-091-24/+31
| | | | | | Miscelleneous whitespace fixes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813094 13f79535-47bb-0310-9956-ffa450edef68
* More friendly stalled messages for no samplesCarl C. Trieloff2009-07-271-13/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@798241 13f79535-47bb-0310-9956-ffa450edef68
* better help text, kill not so usefull optionCarl C. Trieloff2009-07-161-30/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@794495 13f79535-47bb-0310-9956-ffa450edef68
* Minor cluster optimizations.Alan Conway2009-07-141-13/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@793917 13f79535-47bb-0310-9956-ffa450edef68
* Remove incorrect directory from #includeAlan Conway2009-07-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@793912 13f79535-47bb-0310-9956-ffa450edef68
* Add directory to #includeAlan Conway2009-07-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@793909 13f79535-47bb-0310-9956-ffa450edef68
* Applied PIMPL pattern to SubscriptionManager.Alan Conway2009-05-041-0/+1
| | | | | | | Cleaned up some sloppy #includes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@771366 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster flow control bug: hang with large messages (>frame-max) and low ↵Alan Conway2009-02-101-2/+1
| | | | | | --cluster-read-max. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743114 13f79535-47bb-0310-9956-ffa450edef68
* Fix logic to generate messages at a specified rate. Alan Conway2009-01-141-21/+15
| | | | | | | Previous logic was sending messages well below the specified rate. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734452 13f79535-47bb-0310-9956-ffa450edef68
* Add option to use single connection for all producers, and consumers to test ↵Carl C. Trieloff2009-01-061-6/+25
| | | | | | high queue count configurations without using many physical connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@732096 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: Option --cluster-read-max configures read-to-redeliver flow-control.Alan Conway2008-12-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@724857 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1465: Fixed initialisation of minimum value so it is tracked correctlyAndrew Stitcher2008-11-141-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@714126 13f79535-47bb-0310-9956-ffa450edef68
* Allow AbsTime and Duration to be used cross-platform; add usleep() wrapper. ↵Stephen D. Huston2008-10-291-3/+3
| | | | | | Related to QPID-1209 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@709028 13f79535-47bb-0310-9956-ffa450edef68
* Client API change: Centralize access to subscription status, better control ↵Alan Conway2008-10-251-5/+6
| | | | | | | | | | | | | | | | | | | of acquire/accept. client/AckPolicy: removed, functionality moved to Subscription and SubscriptionSettings client/SubscriptionSettings: struct aggregates flow control & accept-acquire parameters for subscribe. client/Subscription: represents active subscription. Query settings, unacked messages, manual accept/acquire client/SubscriptionManager: use AcceptMode, AcquireMode enums rather than confusing bools. Issues addressed by the change: - old use of bool for acceptMode was inverted wrt AMQP enum values, bools are confusing. - old AckPolicy was broken - not possible to access the instance associated with an active subscription - old AckPolicy did not provide a way to do manual acquire, only accept. - setting values on SubscriptionManager to apply to subsequent subscriptions is awkward & error-prone, now can use SubscriptionSettings to control on each subscribe individually. - a subscription is a central concept in AMQP, it deserves to be a class. Subscription and SubscriptionSettings provides a single point for future expansion of interactions with a a Subscription. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707808 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in computing min latency: 0 latencies not handled correctly.Alan Conway2008-09-041-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@691985 13f79535-47bb-0310-9956-ffa450edef68
* Bugfixes:Gordon Sim2008-09-041-3/+3
| | | | | | | | | * handle 0 latencies (possible with low resolution timers) correctly * calculate average within lock scope to avoid concurrent updates distorting calculation git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@691900 13f79535-47bb-0310-9956-ffa450edef68
* Pre-buffering output strategy for cluster.Alan Conway2008-08-211-6/+9
| | | | | | | Additional hooks in broker code, should not affect standalone broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687813 13f79535-47bb-0310-9956-ffa450edef68
* Added extra option (fixed time limit in rate mode) to latency test. Patch ↵Gordon Sim2008-07-011-10/+27
| | | | | | from acme@redhat.com. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@673031 13f79535-47bb-0310-9956-ffa450edef68
* * make tcp-nodelay option available for all testsGordon Sim2008-06-111-9/+48
| | | | | | | | | | * option for outputting csv from latency test (from lgoncalv@redhat.com) * option for cumulative output from latency test (from lgoncalv@redhat.com) * specify interval in millisecs instead of secs (from acme@redhat.com) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@666610 13f79535-47bb-0310-9956-ffa450edef68
* Improve latency test tool to allow lower rates.Gordon Sim2008-05-281-14/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660981 13f79535-47bb-0310-9956-ffa450edef68
* Changes to Session API:Alan Conway2008-05-261-5/+5
| | | | | | | | | | | - Session is synchronous, no futures. - AsyncSession is async, returns futures. - Conversion functions sync(s) async(s) return a sync/async view of session s. - Connection::newSession - takes name, no timeout - SessionBase::getId - returns SessionId not UUID. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-974: allow the size of the queue of outgoing frames to be restrictedGordon Sim2008-04-291-1/+2
| | | | | | | | QPID-544: tidy up configuration (ensuring desired settings are used correctly, allowing tcp socket options to be set etc) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-920: converted c++ client to use final 0-10 protocolGordon Sim2008-04-201-5/+4
| | | | | | | | | | * connection handler converted to using invoker & proxy and updated to final method defs * SessionCore & ExecutionHandler replace by SessionImpl * simplified handling of completion & results, removed handling of responses git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@649915 13f79535-47bb-0310-9956-ffa450edef68
* Start moving towards final 0-10 spec:Gordon Sim2008-02-211-2/+2
| | | | | | | | | | | | | * marked preview spec as 99-0 to distinguish it from 0-10 (which will now be used for the final version) * modified python client to treat 99-0 as 0-10 for now * modified broker to have two paths for the two different versions: 99-0 uses PreviewConnection, PreviewConnectionHandler and PreviewSessionHandler which are straight copy & pastes of the Connection, ConnectionHandler and SessionHandler now associated with 0-10 (so we can migrate the 0-10 path to the final spec without affecting clients working with the preview version) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629883 13f79535-47bb-0310-9956-ffa450edef68
* Added non-optional enum { SYNC, ASYNC } parameter to newSession.Alan Conway2008-02-201-1/+1
| | | | | | | Updated API doc in client/SessionBase.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629503 13f79535-47bb-0310-9956-ffa450edef68
* Added a test to measure latency (still needs refining, still evolving)Gordon Sim2008-01-171-0/+372
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612986 13f79535-47bb-0310-9956-ffa450edef68