Action()
{
lr_start_transaction("Wait");
Wait(130000);
//lr_think_time(130);
lr_end_transaction("Wait", LR_AUTO);
return 0;
}
Create new action with name Wait
Wait(int time)
{
double timeElapsed;
merc_timer_handle_t timer;
if(time!=NULL)
{
sleep(time);
timeElapsed= lr_end_timer(timer);
lr_wasted_time(timeElapsed*
}
return 0;
}