Changeset 29ba7c2


Ignore:
Timestamp:
03/30/14 22:50:22 (7 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
d6a56b6
Parents:
f1015ad
Message:

Remove include for xmmintrin.h which was used for a busy spinning pause mm_pause() in the ring buffer, instead we are using sched_yeild() anyway and this will most likely be replaced with a condition variable in the future.
Now we support non Intel x86/x64 systems which don't have xmmintrin.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace_ringbuffer.c

    r29bbef0 r29ba7c2  
    66#include <stdlib.h>
    77#include <assert.h>
    8 #include <xmmintrin.h> // This will break stuff on non x86x64 systems
    98
    109#define LOCK_TYPE_MUTEX 0 // Default if not defined
Note: See TracChangeset for help on using the changeset viewer.