time function behaving strane

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi all,
i am using time function in my application.
When i call the try function in a loop of say 1 lac iterations then i
m facing strange behaviour.

What i am doing is that i am making a call twice to time function
inside every iteration and i compare the time of both the calls.
But sometimes the time obtained from recent call is 1 second less than
the previous call.

Has anybody observed such kind of problem??
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux