MCPcopy Create free account
hub / github.com/apache/trafficserver / start_timer

Function start_timer

tools/http_load/http_load.c:2899–2905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2897}
2898
2899static void
2900start_timer(ClientData client_data __attribute__((unused)), struct timeval *nowP __attribute__((unused)))
2901{
2902 start_connection(nowP);
2903 if (do_jitter)
2904 (void)tmr_create(nowP, start_timer, JunkClientData, (long)(random() % range_interval) + low_interval, 0);
2905}
2906
2907static void
2908end_timer(ClientData client_data __attribute__((unused)), struct timeval *nowP __attribute__((unused)))

Callers

nothing calls this directly

Calls 3

start_connectionFunction · 0.85
tmr_createFunction · 0.85
randomFunction · 0.85

Tested by

no test coverage detected