Discussion: Program Running Time
Afficher un message
Vieux 15/01/2008, 03h18   #1
cplusplusquestion@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Program Running Time

# time ./a.out test.data

the output:

real 0m49.172s
user 0m5.638s
sys 0m4.850s

Why real time and user time have big difference? I've tried to change
a code: for example disable print() function, the real time and user
time closer. How to improve the real time in a program?
  Réponse avec citation
 
Page generated in 0,03966 seconds with 9 queries