PGROUTING  2.6-dev
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(), compute_trsp(), 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_restrictions(), pgr_get_vehicles_general(), and process().

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

Here is the caller graph for this function: