This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Nick Roberts wrote: > + static long > + timval_diff (struct timeval start, struct timeval end) > + Â { > + Â Â return ((end.tv_sec - start.tv_sec) * 1000000) + > + Â Â Â (end.tv_usec - start.tv_usec); > + Â } Did you really meant to name a function "timval_diff" as opposed to "timeval_diff"? - Volodya
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |