lr_get_transaction_think_time
Returns the think time of a transaction.
C Language
double lr_get_transaction_think_time( char *transaction );
Example: lr_get_transaction_think_time | Transaction Functions |
Java
Double lr.get_transaction_think_time( String transaction )
Example: lr.get_transaction_think_time | Transaction Functions | Java Syntax |
Arguments
Name | Comments |
---|---|
transaction | The transaction name. |
The lr_get_transaction_think_time function returns the think time of the specified transaction until this point. It 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.
Return Values
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.
Parameterization
You cannot use standard parameterization for any arguments in this function.