Displaying 1 result from an estimated 1 matches for "cpysize".
Did you mean:
copysize
2013 Aug 28
0
Investigating memory performance: bare metal vs. xen-pv vs. xen-hvm
...om0_max_vcpus=16 dom0_vcpus_pin root=/dev/sda1
noreboot
cc_compiler : gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
To avoid as much noise as possible I''ve got a kernel module in which I''m
performing the following straight forward test:
for (j = 2; j < 18; j++) {
cpysize = 1 << j;
cpycnt = size / cpysize;
do_gettimeofday(&tvb);
for (i = 0; i < loops; ++i) {
for (k = 0; k < cpycnt; ++k) {
memcpy(src+k*cpysize,dst+k*cpysize,cpysize);
}
}
do_gettimeofday(&tve);
msec = timevaldiff(&tvb, &tve);
printk(KERN_INFO "Did the loops in %ld...