Work sampling