MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / simple_toc

Function simple_toc

src/util/simple_timer.c:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69//------------------------------------------------------------------------------
70
71double simple_toc // returns time since last simple_tic
72(
73 const double tic [2] // tic from last call to simple_tic
74)
75{
76 double toc [2] ;
77 simple_tic (toc) ;
78 return ((toc [0] - tic [0]) + 1e-9 * (toc [1] - tic [1])) ;
79}
80
81void simple_timer_copy // copies a simple time
82(

Calls 1

simple_ticFunction · 0.85