| 292 | } |
| 293 | |
| 294 | static bvar::Vector<unsigned, 2> GetSessionLocalDataCount(void* arg) { |
| 295 | bvar::Vector<unsigned, 2> v; |
| 296 | SimpleDataPool::Stat s = |
| 297 | static_cast<Server*>(arg)->session_local_data_pool()->stat(); |
| 298 | v[0] = s.ncreated - s.nfree; |
| 299 | v[1] = s.nfree; |
| 300 | return v; |
| 301 | } |
| 302 | |
| 303 | static int cast_no_barrier_int(void* arg) { |
| 304 | return butil::subtle::NoBarrier_Load(static_cast<int*>(arg)); |
nothing calls this directly
no test coverage detected