transaction

inline fun transaction(name: String, operation: String, body: ITransaction.() -> Unit)

Create a transaction with the given name and operation, and use it to measure the given callable.


inline fun transaction(transaction: ITransaction, body: ITransaction.() -> Unit)

Use the given transaction to measure the given callable.