Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
调整模拟客户端的创建时间。
bool _callback DelayCreationOfSimulatedClient( asa_uint32 numRepetitions, asa_uint32 simulatedClientNum, asa_uint32 numSimulatedClients, const MLReplayNamesAndValues * namesAndValues )
numRepetitions 会话的重复次数,始终为 1。
simulatedClientNum 用于区别此模拟客户端与相同 mlreplay 实例中其它模拟客户端的模拟客户端号(顺序为 1)。
numSimulatedClients 此 mlreplay 实例中的模拟客户端总数。
namesAndValues 用于自定义重放行为的一组定义的名称和值。
模拟客户端 X 在以下条件下创建:
为模拟客户端 1、...、X - 1 返回 DelayCreationOfSimulatedClient。
DelayCreationOfSimulatedClient( X, numSimulatedClients, namesAndValues ) 返回 true。
当此回调返回 false 时不会创建该模拟客户端,但仍会创建其它模拟客户端。每个模拟客户端每个 mlreplay 实例调用一次此回调。