Speed of time

Discussion in 'Computer Science & Culture' started by Hertz, Jul 24, 2012.

Thread Status:
Not open for further replies.
  1. Hertz Hz Registered Senior Member

    Messages:
    60
    After much study I have developed a computer program that measures the speed/rate of time (changes.) I recently wrote a macro in excel to measure such a thing and I have found it to be quite useful! (I have posted this program before with little success to a discussion so I am re-posting.) Incidentally I cannot tab when posting the code so it may not be spaced correctly, but I have done my best.



    Code:
    
    dim d(10)
    
    REM RESET TIMER
    
    a$=time()
    
    b$=time()
    
            while (b$=a$)
    
                    b$=time()
    
            wend
    
    REM REVOLUTIONS
    
    for x=1 to 10
    
    a$=time()
    
    b$=time()
    
            c=0        
    
                    while (b$=a$)
    
                            b$=time()
    
                                    c=c+1
    
                                            d(x)=c
            
                    wend
    
    next x
    
    REM DATA ANALYSIS
    
    for x=1 to 10
    
            cells(x,1)=d(x)
    
    next x
    
    
    Obviously you do not have to take only ten banks of data, 'x' can be reset to include any number. The above program can also be adjusted to be used on other computer programming software, such as Qbasic (QuickBasic which comes free on windows 98 (d:\tools\oldmsdos).)

    The program works on the basis that if time is moving slower then the counting (during the second) will be slower, and faster when time is moving faster. Enjoy!

    I look forward to some interesting discussions on the above subject...
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. James R Just this guy, you know? Staff Member

    Messages:
    39,426
    This only compares the processing speed of the computer to its internal clock. It doesn't measure whether time moves faster or slower.
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. Hertz Hz Registered Senior Member

    Messages:
    60
    But the internal clock is standard (it produces a sine wave.) What the program shows is that the length of a second varies over time...
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. origin Heading towards oblivion Valued Senior Member

    Messages:
    11,890
    That is not right, what it is showing is that the time it takes to run the program is not constant. The processing time will be affected by all of the other processes running on windows.
     
  8. gmilam Valued Senior Member

    Messages:
    3,533
    You know, the passengers on the train are unaware of the doppler effect. The whistle remains on pitch for them.
     
  9. Chipz Banned Banned

    Messages:
    838
    Well -- at least he's trying.
     
  10. Stryder Keeper of "good" ideas. Valued Senior Member

    Messages:
    13,105
    Wouldn't something like this be more prevalent to timing?
    http://en.wikipedia.org/wiki/555_timer_IC

    As for the "task at hand" well it's already been stated that the pseudo-random effect of load and resource management will alter the program, which is why some timing chipset's initially existed considering their very operation is machine coded logic gate based (As minimalistic and repeatable as possible)

    Like Chips has mentioned "At least he's trying", one of the main problems with people that get a decent fringe theory into their head is trying to identify the faults. so encouragement in trying to work out ways to better understand a given concept can actually aid them through learning what is wrong and even if done correctly can aid other people steer off the wrong path too. Bad mouthing and trolling in response to them just shows a psychological malformity of the responder.
     
  11. FTLinmedium Registered Senior Member

    Messages:
    106
    Very well said.

    I'm not sure if the original post wasn't a joke though?
     
  12. WangLP Registered Member

    Messages:
    8
    I have never seen that....
     
  13. Aqueous Id flat Earth skeptic Valued Senior Member

    Messages:
    6,152
    I have a feeling that if anything as phenomenal as an "undulation in the rate of time" ever is uncovered, it won't probably involve VBA running under Excel, and the sample rate will probably not be 1 second.

    BTW Hertz, what you have is a little like the way CPU utilization is plotted on the Performance Monitor.
     
Thread Status:
Not open for further replies.

Share This Page