Skip to content

Commit 4a61d60

Browse files
committed
Remove redundant gettime call in lockhammer.c for main thread
1 parent de60c1e commit 4a61d60

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

benchmarks/lockhammer/src/lockhammer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ void* hmr(void *ptr)
386386

387387
/* Wait for all threads to arrive from calibrating. */
388388
synchronize_threads(&calibrate_lock, nthrds);
389-
clock_gettime(CLOCK_MONOTONIC, &tv_monot_start);
390389
} else {
391390
/*
392391
* Non-zero core value indicates next core to pin, zero value means

0 commit comments

Comments
 (0)