Skip to content

Commit 40898b4

Browse files
authored
Merge pull request #78 from geoffreyblake/remove_deadcode
Remove redundant gettime call in lockhammer.c for main thread
2 parents de60c1e + 4a61d60 commit 40898b4

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)