All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <CAAdAUti1C0s6b4acDeLHQqbFgswiwuUZNN+mVc4Zeh8_ZTRNzQ@mail.gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 075929e..2593190 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -59,9 +59,7 @@ same patch series.
 > >
 > >       /* Attribute wait time */
 > >       if (do_sleep) {
-> > -             vc->runner->stat.halt_wait_ns +=
-> > +             vc->runner->stat.generic.halt_wait_ns +=
-> >                       ktime_to_ns(cur) - ktime_to_ns(start_wait);
+> > -             vc->runner->stat.halt_wait_ns +> > +             vc->runner->stat.generic.halt_wait_ns +> >                       ktime_to_ns(cur) - ktime_to_ns(start_wait);
 > > +             kvm_stats_log_hist_update(
 > > +                             vc->runner->stat.generic.halt_wait_hist,
 > > +                             LOGHIST_SIZE_LARGE,
@@ -69,8 +67,7 @@ same patch series.
 > >               /* Attribute failed poll time */
 > > -             if (vc->halt_poll_ns)
 > > +             if (vc->halt_poll_ns) {
-> >                       vc->runner->stat.generic.halt_poll_fail_ns +=
-> >                               ktime_to_ns(start_wait) -
+> >                       vc->runner->stat.generic.halt_poll_fail_ns +> >                               ktime_to_ns(start_wait) -
 > >                               ktime_to_ns(start_poll);
 > > +                     kvm_stats_log_hist_update(
 > > +                             vc->runner->stat.generic.halt_poll_fail_hist,
@@ -81,8 +78,7 @@ same patch series.
 > >               /* Attribute successful poll time */
 > > -             if (vc->halt_poll_ns)
 > > +             if (vc->halt_poll_ns) {
-> >                       vc->runner->stat.generic.halt_poll_success_ns +=
-> >                               ktime_to_ns(cur) -
+> >                       vc->runner->stat.generic.halt_poll_success_ns +> >                               ktime_to_ns(cur) -
 > >                               ktime_to_ns(start_poll);
 > > +                     kvm_stats_log_hist_update(
 > > +                             vc->runner->stat.generic.halt_poll_success_hist,
@@ -192,8 +188,7 @@ Will double check the new halt polling stats with this idea.
 > >       finish_rcuwait(&vcpu->wait);
 > >       cur = ktime_get();
 > > +     if (waited) {
-> > +             vcpu->stat.generic.halt_wait_ns +=
-> > +                     ktime_to_ns(cur) - ktime_to_ns(poll_end);
+> > +             vcpu->stat.generic.halt_wait_ns +> > +                     ktime_to_ns(cur) - ktime_to_ns(poll_end);
 > > +             kvm_stats_log_hist_update(vcpu->stat.generic.halt_wait_hist,
 > > +                             LOGHIST_SIZE_LARGE,
 > > +                             ktime_to_ns(cur) - ktime_to_ns(poll_end));
diff --git a/a/content_digest b/N1/content_digest
index 224fb1b..4d50689 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -14,7 +14,7 @@
   "Subject\0Re: [PATCH v1 4/4] KVM: stats: Add halt polling related histogram stats\0"
 ]
 [
-  "Date\0Fri, 9 Jul 2021 10:18:20 -0500\0"
+  "Date\0Fri, 09 Jul 2021 15:18:20 +0000\0"
 ]
 [
   "To\0David Matlack <dmatlack\@google.com>\0"
@@ -97,9 +97,7 @@
   "> >\n",
   "> >       /* Attribute wait time */\n",
   "> >       if (do_sleep) {\n",
-  "> > -             vc->runner->stat.halt_wait_ns +=\n",
-  "> > +             vc->runner->stat.generic.halt_wait_ns +=\n",
-  "> >                       ktime_to_ns(cur) - ktime_to_ns(start_wait);\n",
+  "> > -             vc->runner->stat.halt_wait_ns +> > +             vc->runner->stat.generic.halt_wait_ns +> >                       ktime_to_ns(cur) - ktime_to_ns(start_wait);\n",
   "> > +             kvm_stats_log_hist_update(\n",
   "> > +                             vc->runner->stat.generic.halt_wait_hist,\n",
   "> > +                             LOGHIST_SIZE_LARGE,\n",
@@ -107,8 +105,7 @@
   "> >               /* Attribute failed poll time */\n",
   "> > -             if (vc->halt_poll_ns)\n",
   "> > +             if (vc->halt_poll_ns) {\n",
-  "> >                       vc->runner->stat.generic.halt_poll_fail_ns +=\n",
-  "> >                               ktime_to_ns(start_wait) -\n",
+  "> >                       vc->runner->stat.generic.halt_poll_fail_ns +> >                               ktime_to_ns(start_wait) -\n",
   "> >                               ktime_to_ns(start_poll);\n",
   "> > +                     kvm_stats_log_hist_update(\n",
   "> > +                             vc->runner->stat.generic.halt_poll_fail_hist,\n",
@@ -119,8 +116,7 @@
   "> >               /* Attribute successful poll time */\n",
   "> > -             if (vc->halt_poll_ns)\n",
   "> > +             if (vc->halt_poll_ns) {\n",
-  "> >                       vc->runner->stat.generic.halt_poll_success_ns +=\n",
-  "> >                               ktime_to_ns(cur) -\n",
+  "> >                       vc->runner->stat.generic.halt_poll_success_ns +> >                               ktime_to_ns(cur) -\n",
   "> >                               ktime_to_ns(start_poll);\n",
   "> > +                     kvm_stats_log_hist_update(\n",
   "> > +                             vc->runner->stat.generic.halt_poll_success_hist,\n",
@@ -230,8 +226,7 @@
   "> >       finish_rcuwait(&vcpu->wait);\n",
   "> >       cur = ktime_get();\n",
   "> > +     if (waited) {\n",
-  "> > +             vcpu->stat.generic.halt_wait_ns +=\n",
-  "> > +                     ktime_to_ns(cur) - ktime_to_ns(poll_end);\n",
+  "> > +             vcpu->stat.generic.halt_wait_ns +> > +                     ktime_to_ns(cur) - ktime_to_ns(poll_end);\n",
   "> > +             kvm_stats_log_hist_update(vcpu->stat.generic.halt_wait_hist,\n",
   "> > +                             LOGHIST_SIZE_LARGE,\n",
   "> > +                             ktime_to_ns(cur) - ktime_to_ns(poll_end));\n",
@@ -246,4 +241,4 @@
   "Jing"
 ]
 
-3304384db5eb1dc88f4787799b7aee6d411558a15fede313ecbf1fd68ef42e42
+c47c83704e68b1a774e2f6f6adb7076c67a618a4ad6ffee883511ffc6227ff71

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.