TAP (thrashing analysis protocol) queries