Discussion in 'C' started by vignesh1988i, Jan 6, 2010.
how to find out the time complexity or compilation time in a C program?????? help me out :thinking:
If you need compilation time of the C program you can use the time command in linux environment .
time cc testing.c
But inside a program we can only get the run time by some of the time calculations.We can not get the compilation time.
oh... ok .ok i just need the time in milli or microseconds..... . whether ur command willl dispaly in this format??????
time will give its output in seconds and micro seconds . It will give three kind of times real,user,system.Here the real time the execution time.user and system time depends on the kernal.
The code which I execute took lesser than 0 second.Which means in a few milli seconds .
Separate names with a comma.