On Thu, 2005-08-25 at 09:54 +0530, raja wrote:
[...]
> Is There Any function in c to caliculate the exact time taken to
> execute block of code(in micro sec and milli sec and minuits and hours).
> thanking you,
Do you mean system-time, user-space-time or the time it took in the real
world?
And apart from the fact that this is a C programming question and not
directly related to the Linux kernel since it is a user-space thingy,
you probably want to use times(2) two times and calculate the
difference.
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
-
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]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|