| 1031 | } |
| 1032 | |
| 1033 | static void |
| 1034 | ctl_background_thread_stats_read(tsdn_t *tsdn) { |
| 1035 | background_thread_stats_t *stats = &ctl_stats->background_thread; |
| 1036 | if (!have_background_thread || |
| 1037 | background_thread_stats_read(tsdn, stats)) { |
| 1038 | memset(stats, 0, sizeof(background_thread_stats_t)); |
| 1039 | nstime_init(&stats->run_interval, 0); |
| 1040 | } |
| 1041 | } |
| 1042 | |
| 1043 | static void |
| 1044 | ctl_refresh(tsdn_t *tsdn) { |
no test coverage detected