Skip to content

Commit

Permalink
Change time fully. fix metrics correct.
Browse files Browse the repository at this point in the history
  • Loading branch information
ingenthr committed Jul 19, 2010
1 parent da9e7d1 commit c60390a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics.c
Expand Up @@ -198,7 +198,7 @@ static hrtime_t calc_average(struct TxnResult* a) {
*/
void record_tx(enum TxnType tx_type, hrtime_t t) {
struct TxnResult* new_txn = calloc(1, sizeof(struct TxnResult));
new_txn->respTime = time;
new_txn->respTime = t;
new_txn->left = new_txn->right = new_txn->next = NULL;
pthread_mutex_lock(&lock);
insert(&txn_list_first, new_txn);
Expand Down

0 comments on commit c60390a

Please sign in to comment.