Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <stdlib.h> int cputime(void);
|
Returnwert | Ganze Zahl, die den CPU-Zeitverbrauch in Zehntausendstel Sekunden angibt. |
Beispiel | #include <stdio.h>
#include <stdlib.h>
int main(void)
{
float time_f;
time_f = (float)cputime() / 10000;
printf("cputime since logon: %f seconds\n", time_f);
return 0;
}
|