diff options
author | Patrick Trantham <patrick.trantham@fuel7.com> | 2012-04-13 10:48:15 -0500 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-29 07:30:32 +0200 |
commit | 98d4e212bc6379888c006aadb89eb1b96e0b3ddb (patch) | |
tree | b7a4468d26d3c4363efbd75b4c49988699bc2cab /src/Makefile.am | |
parent | 4cd65e7c488379f4f4a719a6400c839b61c61f7c (diff) |
Implement atomic operations for armv7a
This commit implements atomic operations for the armv7a architecture
using gcc inline assembly. This offers higher performance compared to
pthread mutexes.
Tested on an am3517 evm, clocked at 600MHz:
./inproc_thr 200 1000000
------------------------
53-60K messages / sec, pthread mutexes
73-90K messages / sec, assembly atomic ops
./inproc_lat 200 1000000
------------------------
average latency: 42.234 [us], pthread mutexes
average latency: 35.496 [us], assembly atomic ops
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions