drmtest: add progress indicator

Some test that trash the aperture necessarily need to take forever, so
add a little progress indicator to keep worried minds at peace.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2012-01-24 23:18:21 +01:00
parent 7492f97cde
commit 93a65895bb
3 changed files with 18 additions and 0 deletions
+2
View File
@@ -157,8 +157,10 @@ int main(int argc, char **argv)
// leak buffers
//drm_intel_bo_unreference(batch_bo);
drmtest_progress("gem_cs_prefetch: ", i, count);
}
fprintf(stderr, "Test suceeded, cleanup up - this might take a while.\n");
drm_intel_bufmgr_destroy(bufmgr);
close(fd);