Record time of guest launch.
authorRichard Jones <rjones@redhat.com>
Mon, 9 Nov 2009 14:16:21 +0000 (14:16 +0000)
committerRichard Jones <rjones@redhat.com>
Tue, 10 Nov 2009 16:32:20 +0000 (16:32 +0000)
commit3ae742c1498b8839250be295173d76b9c5731ed1
tree3547860ed9d985b59b4f3465dec2cbc09dd1fd69
parent28d74ee234bebaab552a662eb0700a36413b68b5
Record time of guest launch.

The guest handle field start_t was previously used (when we
had the wait_ready call), but had fallen into disuse.  Note
that it could never be accessed through the API.

Rename this field as launch_t, convert it to a timeval, and
use it to measure the time since guestfs_launch was called
so that we can start profiling guest launch.
src/guestfs.c