Changeset 525b5ef for benchmark/basic/fetch_add.c
- Timestamp:
- Jan 13, 2020, 12:49:14 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 768bd556
- Parents:
- a21dec4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/basic/fetch_add.c
ra21dec4 r525b5ef 2 2 3 3 #include "bench.h" 4 5 // Does a "lock add" on entry and a "lock sub" on exit => 2 atomic instructions making it the most expensive 6 // atomic test. 4 7 5 8 volatile int value;
Note: See TracChangeset
for help on using the changeset viewer.