Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alternative to GetTickCount
#16
I've already made a test program and I'll compile an exe quickly.

EDIT:
Here you go: http://www.splamm.com/sigs/GetTickCount.exe

EDIT EDIT:

Well, I managed to find some problems with our methods...

Your method is largely fine, but a potential problem is that the "Calculating..." text occasionally is bumped a few units to the left meaning a zero was missed somewhere and you've got a much lower number than it should be now. However, I currently believe that there is a simple, rational explanation that poses no problem. The number just ends in ".0" sometimes and VB doesn't bother outputting the ".0"...

My problem is a bit more extreme. Run the first test for a minute and you'll see why. It skips 40 seconds at the start of a new minute. The reason is obvious and I'll have to fix it pretty soon. However, this is not a bad error because I'll be ditching all the strings I used before and I'm sure my newer method will actually be faster if I manage to complete it!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)