PGROUTING  2.5
time_msg.c File Reference
#include <time.h>
#include "c_common/postgres_connection.h"
#include "c_common/time_msg.h"
Include dependency graph for time_msg.c:

Go to the source code of this file.

Functions

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: