Added gcov_flush method, needs more work