MCPcopy Create free account
hub / github.com/Kitware/VTK / timeDiff

Function timeDiff

ThirdParty/sqlite/vtksqlite/shell.c:668–671  ·  view source on GitHub ↗

Return the difference of two time_structs in seconds */

Source from the content-addressed store, hash-verified

666
667/* Return the difference of two time_structs in seconds */
668static double timeDiff(struct timeval *pStart, struct timeval *pEnd){
669 return (pEnd->tv_usec - pStart->tv_usec)*0.000001 +
670 (double)(pEnd->tv_sec - pStart->tv_sec);
671}
672
673/*
674** Print the timing results.

Callers 1

endTimerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected