Open topic with navigation
Returns the think time of a transaction instance specified by its handle.
double lr_get_trans_instance_think_time (long trans_handle);
|Example: lr_get_trans_instance_think_time||Transaction Functions|
|trans_handle||A transaction handle.|
The lr_get_trans_instance_think_time function returns the think time of the specified transaction until this point.
The difference between this function and lr_get_transaction_think_time is that with this function you specify a transaction instance by its handle. With lr_get_transaction_think_time, you specify an independent transaction by its name.
The trans_handle is the handle returned by the call to lr_start_transaction_instance that created the instance.
The lr_get_trans_instance_think_time function returns values greater than zero only for open transactions.
To determine other transaction statistics, such as think time and wasted time, use the appropriate Transaction Functions.
If this function succeeds, it returns the transaction think time. If it fails, it returns a negative number. If the transaction already ended or if data is not available for the specified transaction, it returns 0.
You cannot use standard parameterization for any arguments in this function.