| 296 | } |
| 297 | |
| 298 | static int |
| 299 | systemStatsContCB(TSCont cont, TSEvent /* event ATS_UNUSED */, void * /* edata ATS_UNUSED */) |
| 300 | { |
| 301 | TSMutex stat_creation_mutex; |
| 302 | |
| 303 | Dbg(dbg_ctl, "entered %s", __FUNCTION__); |
| 304 | |
| 305 | stat_creation_mutex = TSContMutexGet(cont); |
| 306 | getStats(stat_creation_mutex); |
| 307 | |
| 308 | TSContScheduleOnPool(cont, SYSTEM_STATS_TIMEOUT, TS_THREAD_POOL_TASK); |
| 309 | Dbg(dbg_ctl, "finished %s", __FUNCTION__); |
| 310 | |
| 311 | return 0; |
| 312 | } |
| 313 | |
| 314 | void |
| 315 | TSPluginInit(int /* arg ATS_UNUSED */, const char ** /* argv ATS_UNUSED */) |
nothing calls this directly
no test coverage detected