CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Location
    Holand
    Posts
    6

    Question Beginner question: output a number

    Please tell me why the profiling results are always different in each time the program runs ? the differnce is not much but why it exists? Thank you

  2. #2
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    1,165

    Re: Beginner question: output a number

    Thats because every time you run your program, external conditions are different: antivirus software scans some files or not, your program has to retrieve data from swap file or not, in a given moment network works faster or slower, some process enters tight loop and takes a lot of processor time, etc etc. Things which happen inside of your OS also influent performance of your program, and hardly ever you can do anything aobut that.

    Hob
    B+!
    'There is no cat' - A. Einstein

    Use [code] [/code] tags!

    Did YOU share your photo with us at CG Members photo gallery ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured