Explore Connect Documentation
Snippets
1
2
3
4
5
6
7
8
9
10
11
12
13
// {
#include <iostream>
using namespace std;
// }
int main() {
  uint timeStampCounter = 0;
  asm("rdtsc": "=a" (timeStampCounter));
  std::cout << timeStampCounter << std::endl;
  return 0;
}
Press desired key combination and then press ENTER.