time_msg.h File Reference
#include <time.h>
#include <stdio.h>
Include dependency graph for time_msg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


void time_msg (char *msg, clock_t start_t, clock_t end_t)

Function Documentation

void time_msg ( char *  msg,
clock_t  start_t,
clock_t  end_t 

Definition at line 32 of file time_msg.c.

Referenced by compute(), get_edges_5_columns(), get_edges_9_columns(), get_edges_basic(), get_edges_flow(), pgr_get_bigIntArr(), pgr_get_coordinates(), pgr_get_matrixRows(), pgr_get_pd_orders_general(), pgr_get_restriction_data(), pgr_get_vehicles_general(), and process().

32  {
33  double elapsed_t = (double)(end_t - start_t) / CLOCKS_PER_SEC;
34  elog(DEBUG2, "Elapsed time for %s:\n %lf sec = (%lf - %f) / CLOCKS_PER_SEC ",
35  msg,
36  elapsed_t,
37  (double) end_t,
38  (double) start_t);
39 }

Here is the caller graph for this function: