This file contains 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
// Program to calculate L1 / L2 cache size, compile in g++ -O1 | |
// Platform : Intel Xeon(R) CPU E5-2667 0 @ 2.90GHz | |
// OS: Ubuntu 12.04 | |
// Author : Yancy Chien | |
#include <iostream> | |
#include <string> | |
#include <sys/time.h> | |
#include <cstdlib> | |
using namespace std; |
This file contains 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
// Program to calculate L1 cache line size, compile in g++ -O1 | |
// Platform : Intel Xeon(R) CPU E5-2667 0 @ 2.90GHz | |
// OS: Ubuntu 12.04 | |
// Author : Yancy Chien | |
#include <iostream> | |
#include <string> | |
#include <sys/time.h> | |
#include <cstdlib> | |
using namespace std; |