Hi Mikael,
Could you detail a little more what exactly you're trying to measure with AMI and the throughput test?
For instance, do you want to send the "sendByteSeq" requests as fast as possible without waiting for the answer of each request? Or do you want to wait for the answer of each request before to send another request?
If that's the former, you just need to create an AMI callback object for each AMI invocation:
Code:
throughput->sendByteSeq_async(new AMI_Throughput_sendByteSeqI(), byteSeq);
Your implementation of the AMI callback is also not totally correct (the sendByteSeq doesn't return anything so ice_response shouldn't have any parameters), the signature of ice_response should be:
Code:
virtual void ice_response()
{
}
Cheers,
Benoit.