Debian Codegraph @

src/test/pmem_memcpy/README

raw
1 Persistent Memory Development Kit
2
3 This is src/test/pmem_memcpy/README.
4
5 This directory contains a unit test for pmem_memcpy().
6
7 SYNOPSIS:
8 pmem_memcpy file destoff srcoff length
9
10 DESCRIPTION:
11 pmem_memcpy is the unit test for verifying the functionality of
12 memcpy for persistent memory using non-temporal instructions.
13
14 OPTIONS:
15 file is '$DIR/testfile1' for all tests.
16 destoff: Is number of bytes for destination address offset based on
17 a 64 byte boundary
18 srcoff: Is number of bytes offset for source address based on
19 64 byte boundary
20 length: Is the length in bytes. Cannot be less than 4.
21
22 A zero for the dest offset and src offset are valid.
23
24 In all cases it sets a pattern of Z's and F's in 1/2 of the length specified to
25 be used as the source buffer. It then tests for successful memcpy using a
26 memcmp and a read of the file.