MCPcopy Create free account
hub / github.com/BirolLab/abyss / timeDiff

Function timeDiff

KAligner/KAligner.cpp:496–503  ·  view source on GitHub ↗

@Returns the time in seconds between [start, end]. */

Source from the content-addressed store, hash-verified

494
495/** @Returns the time in seconds between [start, end]. */
496static double timeDiff(const timeval& start, const timeval& end)
497{
498 double result = (double)end.tv_sec +
499 (double)end.tv_usec/1000000.0;
500 result -= (double)start.tv_sec +
501 (double)start.tv_usec/1000000.0;
502 return result;
503}
504
505static void* alignReadsToDB(void*)
506{

Callers 1

alignReadsToDBFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected