Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Marginally nicer debug messages.

  • Loading branch information...
commit 1d99c08ebea51e499c97c042bddd18e68ea4719e 1 parent 301b675
Steven Smith authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 xen/mini-os/latency/evtchn.c
View
5 xen/mini-os/latency/evtchn.c
@@ -211,10 +211,11 @@ run_intradomain(start_info_t *si)
;
end = NOW();
- printk("All done; took %ld nanoseconds for %d iterations (%d on other cpu)\n",
+ printk("All done; took %ld nanoseconds for %d iterations, %ldns RTT (%d iterations on other cpu)\n",
end - state.start,
state.cntr - INITIAL_DISCARD,
- cpu1_cntr);
+ (end - state.start) / (state.cntr - INITIAL_DISCARD),
+ cpu1_cntr - INITIAL_DISCARD);
xenbus_printf(XBT_NIL, "results", "res", "%ld", end - state.start);
}
Please sign in to comment.
Something went wrong with that request. Please try again.