| 142 | } |
| 143 | |
| 144 | static void |
| 145 | statSet(const char *name, long value, TSMutex stat_creation_mutex) |
| 146 | { |
| 147 | int stat_id = statAdd(name, TS_RECORDDATATYPE_INT, stat_creation_mutex); |
| 148 | if (stat_id != TS_ERROR) { |
| 149 | TSStatIntSet(stat_id, value); |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | static void |
| 154 | setNetStat(TSMutex stat_creation_mutex, const char *interface, const char *entry, const char *subdir, bool subdirstatname) |
no test coverage detected