chiark / gitweb /
show time taken by XGetImage, too
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 27 Jun 2009 00:34:12 +0000 (01:34 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 27 Jun 2009 00:34:12 +0000 (01:34 +0100)
pctb/pages.c

index 3effde5..0a175ee 100644 (file)
@@ -254,6 +254,7 @@ static void snapshot(Snapshot **output) {
     memcpy(im_free->data, shmim->data, dsz);
     rtimestamp(&begin, "mmalloc/memcpy");
   } else {
+    rtimestamp(&begin, "XGetImage before");
     xassert( im_use= im_free=
             XGetImage(disp,id, 0,0, wwidth,wheight, AllPlanes, ZPixmap) );
     rtimestamp(&begin, "XGetImage");