Changeset 9f0b975 for src/benchmark/mutex/upp.cc
- Timestamp:
- Oct 26, 2017, 4:22:17 PM (5 years ago)
- Branches:
- aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 6a5be52
- Parents:
- f54a0ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/benchmark/mutex/upp.cc
rf54a0ab r9f0b975 3 3 #include "bench.h" 4 4 5 volatile unsigned long int counter = 0;6 7 5 _Monitor MyMonitor { 8 6 public: 9 void __attribute__((noinline)) call() { 10 counter++; 11 } 7 void __attribute__((noinline)) call() {} 12 8 }; 13 9
Note: See TracChangeset
for help on using the changeset viewer.