Package eu.stratosphere.nephele.services.memorymanager

Examples of eu.stratosphere.nephele.services.memorymanager.DirectMemorySegment


    CheckedMemorySegment checkedSegment = new CheckedMemorySegment(segmentArray);
    long elapsedChecked = timePutByteArrayChecked(checkedSegment, sourceArray, numValues, rounds);
    checkedSegment = null;
   
    Arrays.fill(segmentArray, (byte) 0);
    DirectMemorySegment directSegment = new DirectMemorySegment(segmentArray);
    long elapsedDirect = timePutByteArrayDirect(directSegment, sourceArray, numValues, rounds);
    directSegment = null;
   
    Arrays.fill(segmentArray, (byte) 0);
    UnsafeMemorySegment unsafeSegment = new UnsafeMemorySegment(segmentArray);
View Full Code Here


    CheckedMemorySegment checkedSegment = new CheckedMemorySegment(segmentArray);
    long elapsedChecked = timeGetByteArrayChecked(checkedSegment, targetArray, numValues, rounds);
    checkedSegment = null;
   
    Arrays.fill(segmentArray, (byte) 0);
    DirectMemorySegment directSegment = new DirectMemorySegment(segmentArray);
    long elapsedDirect = timeGetByteArrayDirect(directSegment, targetArray, numValues, rounds);
    directSegment = null;
   
    Arrays.fill(segmentArray, (byte) 0);
    UnsafeMemorySegment unsafeSegment = new UnsafeMemorySegment(segmentArray);
View Full Code Here

TOP

Related Classes of eu.stratosphere.nephele.services.memorymanager.DirectMemorySegment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.