Search found 2 matches

by aqpham
Mon Sep 07, 2009 1:53 pm
Forum: Intel Processor Forum
Topic: Program a Counter based on CPU speed
Replies: 4
Views: 4460

Re: Program a Counter based on CPU speed

Well it's not a homework assignment but more of a project i decided to build for my undergraduate professor(i already graduated). Yea i found out intel has a "time stamp counter" that counts every cycle and not instructions after it boots up and stores it into the registers. Now i just hav...
by aqpham
Sun Sep 06, 2009 8:52 pm
Forum: Intel Processor Forum
Topic: Program a Counter based on CPU speed
Replies: 4
Views: 4460

Program a Counter based on CPU speed

is there a way to program a counter in Intel assembly language to count the number of cycles after powerup? From what I understand, I have a 2 gigz cpu so it cycles every .5 nanoseconds... but i have a project for a class where i need to actually count how many cycles has passed in the cpu but don't...