flushengine test. Take a look at flushengine.cpp for details.