[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XENTOP] Fix CPU percentage display in batch mode.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 7a7066ae2e778036c5db84c5ffe35d8206b6edb6 # Parent e5cf18c05e8b438d5d543fe664aa83bf2c4e70c5 [XENTOP] Fix CPU percentage display in batch mode. From: shaocyou <shaocyou@xxxxxxxxxxxxxx> Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- tools/xenstat/xentop/xentop.c | 1 + 1 files changed, 1 insertion(+) diff -r e5cf18c05e8b -r 7a7066ae2e77 tools/xenstat/xentop/xentop.c --- a/tools/xenstat/xentop/xentop.c Wed Jun 28 10:22:13 2006 +0100 +++ b/tools/xenstat/xentop/xentop.c Wed Jun 28 10:24:05 2006 +0100 @@ -904,6 +904,7 @@ int main(int argc, char **argv) do { gettimeofday(&curtime, NULL); top(); + oldtime = curtime; sleep(delay); if ((!loop) && !(--iterations)) break; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |