diff for duplicates of <5795615A.7080104@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 3c96bf9..2b1d771 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -157,15 +157,18 @@ That would have made more sense, obviously that was my Friday afternoon brain. >> + >> + /* Attribute wait time */ >> + if (do_sleep) { ->> + vc->runner->stat.halt_wait_ns +>> + ktime_to_ns(cur) - ktime_to_ns(start_wait); +>> + vc->runner->stat.halt_wait_ns += +>> + ktime_to_ns(cur) - ktime_to_ns(start_wait); >> + /* Attribute failed poll time */ >> + if (vc->halt_poll_ns) ->> + vc->runner->stat.halt_poll_fail_ns +>> + ktime_to_ns(start_wait) - +>> + vc->runner->stat.halt_poll_fail_ns += +>> + ktime_to_ns(start_wait) - >> + ktime_to_ns(start_poll); >> + } else { >> + /* Attribute successful poll time */ >> + if (vc->halt_poll_ns) ->> + vc->runner->stat.halt_poll_success_ns +>> + ktime_to_ns(cur) - +>> + vc->runner->stat.halt_poll_success_ns += +>> + ktime_to_ns(cur) - >> + ktime_to_ns(start_poll); >> + } >> diff --git a/a/content_digest b/N1/content_digest index 5d06355..6ec8889 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\0CALzav=cYY0YMhPOuU7rzimPJhg5ofcwK=1aqCnb6NPw783O=6A@mail.gmail.com\0" "From\0Suraj Jitindar Singh <sjitindarsingh@gmail.com>\0" "Subject\0Re: [PATCH V5 5/5] powerpc/kvm/stats: Implement existing and add new halt polling vcpu stats\0" - "Date\0Mon, 25 Jul 2016 00:46:18 +0000\0" + "Date\0Mon, 25 Jul 2016 10:46:18 +1000\0" "To\0David Matlack <dmatlack@google.com>\0" "Cc\0linuxppc-dev@lists.ozlabs.org" kvm-ppc@vger.kernel.org @@ -175,15 +175,18 @@ ">> +\n" ">> + /* Attribute wait time */\n" ">> + if (do_sleep) {\n" - ">> + vc->runner->stat.halt_wait_ns +>> + ktime_to_ns(cur) - ktime_to_ns(start_wait);\n" + ">> + vc->runner->stat.halt_wait_ns +=\n" + ">> + ktime_to_ns(cur) - ktime_to_ns(start_wait);\n" ">> + /* Attribute failed poll time */\n" ">> + if (vc->halt_poll_ns)\n" - ">> + vc->runner->stat.halt_poll_fail_ns +>> + ktime_to_ns(start_wait) -\n" + ">> + vc->runner->stat.halt_poll_fail_ns +=\n" + ">> + ktime_to_ns(start_wait) -\n" ">> + ktime_to_ns(start_poll);\n" ">> + } else {\n" ">> + /* Attribute successful poll time */\n" ">> + if (vc->halt_poll_ns)\n" - ">> + vc->runner->stat.halt_poll_success_ns +>> + ktime_to_ns(cur) -\n" + ">> + vc->runner->stat.halt_poll_success_ns +=\n" + ">> + ktime_to_ns(cur) -\n" ">> + ktime_to_ns(start_poll);\n" ">> + }\n" ">>\n" @@ -193,4 +196,4 @@ ">> 2.5.5\n" >> -478dd1cb709a4f9aeea2a233e979cbfe4699ba101e1dbbbfa4e6767afb0da9f5 +2785e42cc342d7bb62ff42f14102590b2716954b9543b9ff5d5cb23f057bf04c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.