This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
/* | |
This program tests the performance characteristics of write combining | |
On an intel CPU only 4 writes at a time will be combined so we should see | |
a big performance improvement if we only write to distinct memory locations | |
<=4 times per iteration of a loop |
NewerOlder